<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>VectSharp: VectSharp/Gradients.cs Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="Doxy.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="icon.svg"/></td>
  <td id="projectalign">
   <div id="projectname">VectSharp<span id="projectnumber">&#160;2.6.1</span>
   </div>
   <div id="projectbrief">A light library for C# vector graphics</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('_gradients_8cs_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">Gradients.cs</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="keyword">using </span>System;</div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="keyword">using </span>System.Collections.Generic;</div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="keyword">using </span>System.Linq;</div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="keyword">using </span>System.Text;</div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="keyword">using </span><a class="code hl_namespace" href="namespace_vect_sharp.html">VectSharp</a>;</div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="keyword">using </span>static System.Net.WebRequestMethods;</div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span> </div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespace_vect_sharp.html">VectSharp</a></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span>{<span class="comment"></span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span><span class="comment">    /// &lt;summary&gt;</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span><span class="comment">    /// Standard gradients.</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span><span class="comment">    /// &lt;/summary&gt;</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"><a class="line" href="class_vect_sharp_1_1_gradients.html">   13</a></span><span class="comment"></span>    <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">class </span><a class="code hl_class" href="class_vect_sharp_1_1_gradients.html">Gradients</a></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span>    {<span class="comment"></span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span><span class="comment">        /// &lt;summary&gt;</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span><span class="comment">        /// Gradient from transparent black (0) to opaque black (1).</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span><span class="comment">        /// &lt;/summary&gt;</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"><a class="line" href="class_vect_sharp_1_1_gradients.html#ae322751b6c6067c0aaf9c2738c90cac9">   18</a></span><span class="comment"></span>        <span class="keyword">public</span> <span class="keyword">static</span> readonly <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a> <a class="code hl_variable" href="class_vect_sharp_1_1_gradients.html#ae322751b6c6067c0aaf9c2738c90cac9">TransparentToBlack</a> = <span class="keyword">new</span> <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a>(<span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#ae8dc3a457be395b0350db3508424a324">FromRgba</a>(0, 0, 0, 0), 0), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(0, 0, 0), 1));</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span><span class="comment"></span> </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span><span class="comment">        /// &lt;summary&gt;</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span><span class="comment">        /// Gradient from white (0) to black (1).</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span><span class="comment">        /// &lt;/summary&gt;</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="class_vect_sharp_1_1_gradients.html#a0c3bfb1433293005f2731b311fe3b546">   23</a></span><span class="comment"></span>        <span class="keyword">public</span> <span class="keyword">static</span> readonly <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a> <a class="code hl_variable" href="class_vect_sharp_1_1_gradients.html#a0c3bfb1433293005f2731b311fe3b546">WhiteToBlack</a> = <span class="keyword">new</span> <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a>(<span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(255, 255, 255), 0), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(0, 0, 0), 1));</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span><span class="comment"></span> </div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span><span class="comment">        /// &lt;summary&gt;</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span><span class="comment">        /// Gradient from red (0) to green (1).</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span><span class="comment">        /// &lt;/summary&gt;</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"><a class="line" href="class_vect_sharp_1_1_gradients.html#a7e2b8fdc6d0667a53f578a1e0405d93f">   28</a></span><span class="comment"></span>        <span class="keyword">public</span> <span class="keyword">static</span> readonly <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a> <a class="code hl_variable" href="class_vect_sharp_1_1_gradients.html#a7e2b8fdc6d0667a53f578a1e0405d93f">RedToGreen</a> = <span class="keyword">new</span> <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a>(<span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(237, 28, 36), 0), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(34, 177, 76), 1));</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span><span class="comment"></span> </div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span><span class="comment">        /// &lt;summary&gt;</span></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span><span class="comment">        /// Rainbow gradient (red, orange, yellow, green, blue, indigo, violet).</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span><span class="comment">        /// &lt;/summary&gt;</span></div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="class_vect_sharp_1_1_gradients.html#a5e983ad42e4b1ee9ef8ddfebbc3d6539">   33</a></span><span class="comment"></span>        <span class="keyword">public</span> <span class="keyword">static</span> readonly <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a> <a class="code hl_variable" href="class_vect_sharp_1_1_gradients.html#a5e983ad42e4b1ee9ef8ddfebbc3d6539">Rainbow</a> = <span class="keyword">new</span> <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a>(<span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(237, 28, 36), 0), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(255, 127, 39), 1.0 / 6), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(255, 242, 0), 1.0 / 3), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(34, 177, 76), 0.5), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(0, 162, 232), 2.0 / 3), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(63, 72, 204), 5.0 / 6), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(163, 73, 164), 1));</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span><span class="comment"></span> </div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span><span class="comment">        /// &lt;summary&gt;</span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span><span class="comment">        /// Gradient from red (0) to yellow (0.5) to green (1).</span></div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span><span class="comment">        /// &lt;/summary&gt;</span></div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="class_vect_sharp_1_1_gradients.html#a1a2322649bc945fd1613d7df84ddd432">   38</a></span><span class="comment"></span>        <span class="keyword">public</span> <span class="keyword">static</span> readonly <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a> <a class="code hl_variable" href="class_vect_sharp_1_1_gradients.html#a1a2322649bc945fd1613d7df84ddd432">RedYellowGreen</a> = <span class="keyword">new</span> <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a>(<span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(237, 28, 36), 0), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(255, 242, 0), 0.5), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(34, 177, 76), 1));</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span><span class="comment"></span> </div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span><span class="comment">        /// &lt;summary&gt;</span></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span><span class="comment">        /// Rainbow gradient with Okabe-Ito colour-blind safe colours (&lt;seealso href=&quot;https://jfly.uni-koeln.de/color/&quot;/&gt;).</span></div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span><span class="comment">        /// &lt;/summary&gt;</span></div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="class_vect_sharp_1_1_gradients.html#a0db68fdf56887ae1c04a48acb95b4188">   43</a></span><span class="comment"></span>        <span class="keyword">public</span> <span class="keyword">static</span> readonly <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a> <a class="code hl_variable" href="class_vect_sharp_1_1_gradients.html#a0db68fdf56887ae1c04a48acb95b4188">OkabeItoRainbow</a> = <span class="keyword">new</span> <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a>(<span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(204, 121, 167), 0), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(213, 94, 0), 1.0 / 6), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(230, 159, 0), 1.0 / 3), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(240, 228, 66), 0.5), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(0, 158, 115), 2.0 / 3), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(0, 114, 178), 5.0 / 6), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(86, 180, 233), 1));</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span><span class="comment"></span> </div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span><span class="comment">        /// &lt;summary&gt;</span></div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span><span class="comment">        /// Rainbow gradient with Okabe-Ito colour-blind safe colours (&lt;seealso href=&quot;https://jfly.uni-koeln.de/color/&quot;/&gt;) in discrete steps.</span></div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span><span class="comment">        /// &lt;/summary&gt;</span></div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"><a class="line" href="class_vect_sharp_1_1_gradients.html#a8335f0f15d4ed215e5d02deb92ecb1f8">   48</a></span><span class="comment"></span>        <span class="keyword">public</span> <span class="keyword">static</span> readonly <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a> <a class="code hl_variable" href="class_vect_sharp_1_1_gradients.html#a8335f0f15d4ed215e5d02deb92ecb1f8">OkabeItoRainbowDiscrete</a> = <span class="keyword">new</span> <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a>(<span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(204, 121, 167), 0), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(204, 121, 167), 0.2), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(230, 159, 0), 0.201), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(230, 159, 0), 0.4), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(0, 158, 115), 0.401), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(0, 158, 115), 0.6), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(0, 114, 178), 0.601), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(0, 114, 178), 0.8), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(86, 180, 233), 0.801), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(86, 180, 233), 1));</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span><span class="comment"></span> </div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span><span class="comment">        /// &lt;summary&gt;</span></div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span><span class="comment">        /// Rainbow gradient with Paul Tol&#39;s Muted palette (&lt;seealso href=&quot;https://personal.sron.nl/~pault/&quot;/&gt;).</span></div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span><span class="comment">        /// &lt;/summary&gt;</span></div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"><a class="line" href="class_vect_sharp_1_1_gradients.html#ab1773d19043fc5e4b01efb09398f8ddd">   53</a></span><span class="comment"></span>        <span class="keyword">public</span> <span class="keyword">static</span> readonly <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a> <a class="code hl_variable" href="class_vect_sharp_1_1_gradients.html#ab1773d19043fc5e4b01efb09398f8ddd">MutedRainbow</a> = <span class="keyword">new</span> <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a>(<span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(221, 204, 119), 0), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(153, 153, 51), 0.125), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(17, 119, 51), 0.25), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(68, 170, 153), 0.375), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(136, 204, 238), 0.5), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(51, 34, 136), 0.625), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(170, 68, 153), 0.75), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(136, 34, 85), 0.875), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(204, 102, 119), 1));</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span><span class="comment"></span> </div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span><span class="comment">        /// &lt;summary&gt;</span></div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span><span class="comment">        /// Rainbow gradient with Paul Tol&#39;s Muted palette (&lt;seealso href=&quot;https://personal.sron.nl/~pault/&quot;/&gt;) in discrete steps.</span></div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span><span class="comment">        /// &lt;/summary&gt;</span></div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"><a class="line" href="class_vect_sharp_1_1_gradients.html#a8580ab96c6d69f36ef41823c1bed0456">   58</a></span><span class="comment"></span>        <span class="keyword">public</span> <span class="keyword">static</span> readonly <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a> <a class="code hl_variable" href="class_vect_sharp_1_1_gradients.html#a8580ab96c6d69f36ef41823c1bed0456">MutedRainbowDiscrete</a> = <span class="keyword">new</span> <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a>(<span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(187, 187, 187), 0.101), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(187, 187, 187), 0.1), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(221, 204, 119), 0.101), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(221, 204, 119), 0.2), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(153, 153, 51), 0.201), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(153, 153, 51), 0.3), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(17, 119, 51), 0.301), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(17, 119, 51), 0.4), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(68, 170, 153), 0.401), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(68, 170, 153), 0.5), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(136, 204, 238), 0.501), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(136, 204, 238), 0.6), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(51, 34, 136), 0.601), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(51, 34, 136), 0.7), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(170, 68, 153), 0.701), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(170, 68, 153), 0.8), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(136, 34, 85), 0.801), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(136, 34, 85), 0.9), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(204, 102, 119), 0.901), <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(204, 102, 119), 1));</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno">   59</span> </div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span>        <span class="keyword">private</span> <span class="keyword">static</span> <span class="keywordtype">double</span>[,] MagmaRGB = <span class="keyword">new</span> <span class="keywordtype">double</span>[256, 3] { { 0.00146159096, 0.000466127766, 0.01386552 }, { 0.00225764007, 0.00129495431, 0.0183311461 }, { 0.00327943222, 0.00230452991, 0.0237083291 }, { 0.00451230222, 0.00349037666, 0.0299647059 }, { 0.00594976987, 0.00484285, 0.0371296695 }, { 0.0075879855, 0.00635613622, 0.0449730774 }, { 0.0094260439, 0.00802185006, 0.0528443561 }, { 0.0114654337, 0.00982831486, 0.060749638 }, { 0.0137075706, 0.0117705913, 0.0686665843 }, { 0.0161557566, 0.0138404966, 0.076602666 }, { 0.018815367, 0.0160262753, 0.0845844897 }, { 0.021691934, 0.0183201254, 0.092610105 }, { 0.0247917814, 0.0207147875, 0.100675555 }, { 0.0281228154, 0.0232009284, 0.108786954 }, { 0.0316955304, 0.0257651161, 0.116964722 }, { 0.0355204468, 0.028397457, 0.125209396 }, { 0.0396084872, 0.0310895652, 0.133515085 }, { 0.043829535, 0.0338299885, 0.141886249 }, { 0.0480616391, 0.0366066101, 0.150326989 }, { 0.0523204388, 0.039406602, 0.158841025 }, { 0.0566148978, 0.0421598925, 0.167445592 }, { 0.060949393, 0.0447944924, 0.176128834 }, { 0.0653301801, 0.0473177796, 0.184891506 }, { 0.0697637296, 0.0497264666, 0.193735088 }, { 0.0742565152, 0.0520167766, 0.202660374 }, { 0.0788150034, 0.0541844801, 0.211667355 }, { 0.0834456313, 0.0562249365, 0.220755099 }, { 0.088154773, 0.0581331465, 0.229921611 }, { 0.0929486914, 0.0599038167, 0.239163669 }, { 0.097833477, 0.0615314414, 0.248476662 }, { 0.102814972, 0.0630104053, 0.2578544 }, { 0.107898679, 0.0643351102, 0.267288933 }, { 0.113094451, 0.0654920358, 0.276783978 }, { 0.118405035, 0.0664791593, 0.286320656 }, { 0.123832651, 0.0672946449, 0.295879431 }, { 0.129380192, 0.0679349264, 0.305442931 }, { 0.135053322, 0.0683912798, 0.31499989 }, { 0.140857952, 0.068654071, 0.32453764 }, { 0.146785234, 0.0687382323, 0.334011109 }, { 0.152839217, 0.0686368599, 0.34340445 }, { 0.159017511, 0.0683540225, 0.352688028 }, { 0.165308131, 0.0679108689, 0.361816426 }, { 0.171713033, 0.067305326, 0.370770827 }, { 0.17821173, 0.0665758073, 0.379497161 }, { 0.184800877, 0.0657324381, 0.387972507 }, { 0.191459745, 0.0648183312, 0.396151969 }, { 0.198176877, 0.0638624166, 0.404008953 }, { 0.204934882, 0.0629066192, 0.411514273 }, { 0.211718061, 0.0619917876, 0.418646741 }, { 0.21851159, 0.0611584918, 0.425391816 }, { 0.225302032, 0.0604451843, 0.431741767 }, { 0.232076515, 0.0598886855, 0.437694665 }, { 0.238825991, 0.0595170384, 0.443255999 }, { 0.245543175, 0.0593524384, 0.448435938 }, { 0.252220252, 0.0594147119, 0.453247729 }, { 0.258857304, 0.0597055998, 0.457709924 }, { 0.265446744, 0.0602368754, 0.461840297 }, { 0.271994089, 0.0609935552, 0.465660375 }, { 0.2784933, 0.0619778136, 0.469190328 }, { 0.284951097, 0.0631676261, 0.472450879 }, { 0.291365817, 0.0645534486, 0.475462193 }, { 0.297740413, 0.0661170432, 0.478243482 }, { 0.304080941, 0.0678353452, 0.480811572 }, { 0.310382027, 0.0697024767, 0.48318634 }, { 0.316654235, 0.0716895272, 0.485380429 }, { 0.322899126, 0.0737819504, 0.487408399 }, { 0.329114038, 0.0759715081, 0.489286796 }, { 0.335307503, 0.0782361045, 0.491024144 }, { 0.341481725, 0.0805635079, 0.492631321 }, { 0.347635742, 0.0829463512, 0.494120923 }, { 0.353773161, 0.0853726329, 0.495501096 }, { 0.359897941, 0.0878311772, 0.496778331 }, { 0.366011928, 0.0903143031, 0.497959963 }, { 0.372116205, 0.0928159917, 0.499053326 }, { 0.378210547, 0.0953322947, 0.500066568 }, { 0.384299445, 0.0978549106, 0.501001964 }, { 0.390384361, 0.100379466, 0.501864236 }, { 0.39646667, 0.102902194, 0.50265759 }, { 0.402547663, 0.105419865, 0.503385761 }, { 0.408628505, 0.107929771, 0.504052118 }, { 0.414708664, 0.110431177, 0.504661843 }, { 0.420791157, 0.11292021, 0.505214935 }, { 0.426876965, 0.115395258, 0.505713602 }, { 0.432967001, 0.117854987, 0.506159754 }, { 0.439062114, 0.120298314, 0.506555026 }, { 0.445163096, 0.122724371, 0.506900806 }, { 0.451270678, 0.125132484, 0.507198258 }, { 0.457385535, 0.127522145, 0.507448336 }, { 0.463508291, 0.129892998, 0.507651812 }, { 0.469639514, 0.132244819, 0.507809282 }, { 0.475779723, 0.1345775, 0.507921193 }, { 0.481928997, 0.13689139, 0.507988509 }, { 0.488088169, 0.139186217, 0.508010737 }, { 0.494257673, 0.141462106, 0.507987836 }, { 0.500437834, 0.143719323, 0.507919772 }, { 0.506628929, 0.145958202, 0.50780642 }, { 0.512831195, 0.148179144, 0.50764757 }, { 0.519044825, 0.150382611, 0.507442938 }, { 0.525269968, 0.152569121, 0.507192172 }, { 0.531506735, 0.154739247, 0.50689486 }, { 0.537755194, 0.156893613, 0.506550538 }, { 0.544015371, 0.159032895, 0.506158696 }, { 0.550287252, 0.161157816, 0.505718782 }, { 0.556570783, 0.163269149, 0.50523021 }, { 0.562865867, 0.165367714, 0.504692365 }, { 0.569172368, 0.167454379, 0.504104606 }, { 0.575490107, 0.169530062, 0.503466273 }, { 0.581818864, 0.171595728, 0.50277669 }, { 0.588158375, 0.173652392, 0.502035167 }, { 0.594508337, 0.175701122, 0.501241011 }, { 0.600868399, 0.177743036, 0.500393522 }, { 0.607238169, 0.179779309, 0.499491999 }, { 0.613617209, 0.18181117, 0.498535746 }, { 0.620005032, 0.183839907, 0.497524075 }, { 0.626401108, 0.185866869, 0.496456304 }, { 0.632804854, 0.187893468, 0.495331769 }, { 0.639215638, 0.189921182, 0.494149821 }, { 0.645632778, 0.191951556, 0.492909832 }, { 0.652055535, 0.19398621, 0.491611196 }, { 0.658483116, 0.196026835, 0.490253338 }, { 0.664914668, 0.198075202, 0.488835712 }, { 0.671349279, 0.200133166, 0.487357807 }, { 0.677785975, 0.202202663, 0.485819154 }, { 0.684223712, 0.204285721, 0.484219325 }, { 0.69066138, 0.206384461, 0.482557941 }, { 0.697097796, 0.2085011, 0.480834678 }, { 0.7035317, 0.210637956, 0.47904927 }, { 0.709961888, 0.212797337, 0.477201121 }, { 0.716387038, 0.214981693, 0.47528978 }, { 0.722805451, 0.217193831, 0.473315708 }, { 0.729215521, 0.219436516, 0.471278924 }, { 0.735615545, 0.221712634, 0.469179541 }, { 0.742003713, 0.224025196, 0.467017774 }, { 0.748378107, 0.226377345, 0.464793954 }, { 0.754736692, 0.228772352, 0.462508534 }, { 0.761077312, 0.231213625, 0.460162106 }, { 0.767397681, 0.233704708, 0.457755411 }, { 0.77369538, 0.236249283, 0.455289354 }, { 0.779967847, 0.23885117, 0.452765022 }, { 0.786212372, 0.241514325, 0.450183695 }, { 0.792426972, 0.24424225, 0.447543155 }, { 0.79860776, 0.247039798, 0.444848441 }, { 0.804751511, 0.24991135, 0.442101615 }, { 0.810854841, 0.252861399, 0.439304963 }, { 0.816914186, 0.25589455, 0.436461074 }, { 0.822925797, 0.259015505, 0.433572874 }, { 0.82888574, 0.262229049, 0.430643647 }, { 0.834790818, 0.265539703, 0.427671352 }, { 0.84063568, 0.268952874, 0.42466562 }, { 0.846415804, 0.272473491, 0.421631064 }, { 0.85212649, 0.276106469, 0.418572767 }, { 0.85776287, 0.279856666, 0.415496319 }, { 0.863320397, 0.283729003, 0.412402889 }, { 0.868793368, 0.287728205, 0.409303002 }, { 0.874176342, 0.291858679, 0.406205397 }, { 0.879463944, 0.296124596, 0.403118034 }, { 0.884650824, 0.30053009, 0.40004706 }, { 0.889731418, 0.305078817, 0.397001559 }, { 0.894700194, 0.309773445, 0.393994634 }, { 0.899551884, 0.314616425, 0.391036674 }, { 0.904281297, 0.319609981, 0.388136889 }, { 0.908883524, 0.324755126, 0.385308008 }, { 0.913354091, 0.330051947, 0.382563414 }, { 0.917688852, 0.335500068, 0.379915138 }, { 0.921884187, 0.341098112, 0.377375977 }, { 0.925937102, 0.346843685, 0.374959077 }, { 0.92984509, 0.352733817, 0.372676513 }, { 0.933606454, 0.358764377, 0.370540883 }, { 0.937220874, 0.364929312, 0.368566525 }, { 0.940687443, 0.371224168, 0.366761699 }, { 0.944006448, 0.377642889, 0.365136328 }, { 0.947179528, 0.384177874, 0.36370113 }, { 0.95021015, 0.390819546, 0.362467694 }, { 0.953099077, 0.397562894, 0.361438431 }, { 0.955849237, 0.404400213, 0.360619076 }, { 0.958464079, 0.411323666, 0.360014232 }, { 0.960949221, 0.418323245, 0.359629789 }, { 0.963310281, 0.425389724, 0.35946902 }, { 0.965549351, 0.432518707, 0.359529151 }, { 0.967671128, 0.439702976, 0.359810172 }, { 0.969680441, 0.446935635, 0.36031112 }, { 0.971582181, 0.45421017, 0.361030156 }, { 0.973381238, 0.461520484, 0.361964652 }, { 0.975082439, 0.468860936, 0.363111292 }, { 0.976690494, 0.47622635, 0.364466162 }, { 0.978209957, 0.483612031, 0.366024854 }, { 0.979645181, 0.491013764, 0.367782559 }, { 0.981000291, 0.4984278, 0.369734157 }, { 0.982279159, 0.505850848, 0.371874301 }, { 0.983485387, 0.513280054, 0.374197501 }, { 0.984622298, 0.520712972, 0.376698186 }, { 0.985692925, 0.528147545, 0.379370774 }, { 0.986700017, 0.53558207, 0.382209724 }, { 0.987646038, 0.543015173, 0.385209578 }, { 0.988533173, 0.550445778, 0.388365009 }, { 0.989363341, 0.557873075, 0.391670846 }, { 0.990138201, 0.565296495, 0.395122099 }, { 0.990871208, 0.572706259, 0.398713971 }, { 0.991558165, 0.580106828, 0.402441058 }, { 0.992195728, 0.587501706, 0.406298792 }, { 0.992784669, 0.594891088, 0.410282976 }, { 0.993325561, 0.602275297, 0.414389658 }, { 0.993834412, 0.60964354, 0.418613221 }, { 0.994308514, 0.616998953, 0.422949672 }, { 0.994737698, 0.624349657, 0.427396771 }, { 0.995121854, 0.631696376, 0.431951492 }, { 0.995480469, 0.639026596, 0.436607159 }, { 0.995809924, 0.646343897, 0.441360951 }, { 0.996095703, 0.653658756, 0.446213021 }, { 0.996341406, 0.660969379, 0.451160201 }, { 0.996579803, 0.668255621, 0.456191814 }, { 0.996774784, 0.675541484, 0.461314158 }, { 0.996925427, 0.682827953, 0.466525689 }, { 0.997077185, 0.690087897, 0.471811461 }, { 0.997186253, 0.697348991, 0.477181727 }, { 0.997253982, 0.704610791, 0.482634651 }, { 0.99732518, 0.711847714, 0.488154375 }, { 0.997350983, 0.719089119, 0.493754665 }, { 0.997350583, 0.726324415, 0.499427972 }, { 0.997341259, 0.733544671, 0.505166839 }, { 0.997284689, 0.740771893, 0.510983331 }, { 0.997228367, 0.747980563, 0.516859378 }, { 0.99713848, 0.755189852, 0.522805996 }, { 0.997019342, 0.762397883, 0.528820775 }, { 0.996898254, 0.769590975, 0.534892341 }, { 0.996726862, 0.77679486, 0.541038571 }, { 0.996570645, 0.783976508, 0.547232992 }, { 0.996369065, 0.791167346, 0.553498939 }, { 0.996162309, 0.798347709, 0.559819643 }, { 0.995932448, 0.805527126, 0.566201824 }, { 0.995680107, 0.812705773, 0.572644795 }, { 0.995423973, 0.819875302, 0.57914013 }, { 0.995131288, 0.827051773, 0.585701463 }, { 0.994851089, 0.834212826, 0.592307093 }, { 0.994523666, 0.841386618, 0.598982818 }, { 0.9942219, 0.848540474, 0.605695903 }, { 0.993865767, 0.855711038, 0.612481798 }, { 0.993545285, 0.862858846, 0.6192993 }, { 0.993169558, 0.870024467, 0.626189463 }, { 0.992830963, 0.877168404, 0.633109148 }, { 0.992439881, 0.884329694, 0.640099465 }, { 0.992089454, 0.891469549, 0.647116021 }, { 0.991687744, 0.89862705, 0.654201544 }, { 0.991331929, 0.905762748, 0.661308839 }, { 0.990929685, 0.91291501, 0.668481201 }, { 0.990569914, 0.920048699, 0.675674592 }, { 0.990174637, 0.927195612, 0.682925602 }, { 0.989814839, 0.93432854, 0.690198194 }, { 0.989433736, 0.941470354, 0.697518628 }, { 0.989077438, 0.948604077, 0.704862519 }, { 0.988717064, 0.95574152, 0.712242232 }, { 0.988367028, 0.962878026, 0.719648627 }, { 0.988032885, 0.970012413, 0.727076773 }, { 0.987690702, 0.977154231, 0.734536205 }, { 0.987386827, 0.984287561, 0.742001547 }, { 0.987052509, 0.991437853, 0.749504188 } };</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span>        <span class="keyword">private</span> <span class="keyword">static</span> <span class="keywordtype">double</span>[,] InfernoRGB = <span class="keyword">new</span> <span class="keywordtype">double</span>[256, 3] { { 0.00146159096, 0.000466127766, 0.01386552 }, { 0.00226726368, 0.00126992553, 0.018570352 }, { 0.00329899092, 0.00224934863, 0.0242390508 }, { 0.00454690615, 0.00339180156, 0.0309092475 }, { 0.00600552565, 0.00469194561, 0.038557898 }, { 0.00767578856, 0.00613611626, 0.0468360336 }, { 0.00956051094, 0.00771344131, 0.0551430756 }, { 0.0116634769, 0.00941675403, 0.063459808 }, { 0.0139950388, 0.0112247138, 0.071861689 }, { 0.0165605595, 0.0131362262, 0.0802817951 }, { 0.0193732295, 0.0151325789, 0.0887668094 }, { 0.0224468865, 0.0171991484, 0.0973274383 }, { 0.0257927373, 0.0193306298, 0.105929835 }, { 0.0294324251, 0.0215030771, 0.114621328 }, { 0.0333852235, 0.0237024271, 0.123397286 }, { 0.0376684211, 0.0259207864, 0.132232108 }, { 0.0422525554, 0.0281385015, 0.141140519 }, { 0.0469146287, 0.0303236129, 0.150163867 }, { 0.0516437624, 0.0324736172, 0.159254277 }, { 0.0564491009, 0.0345691867, 0.168413539 }, { 0.06133972, 0.0365900213, 0.177642172 }, { 0.066331262, 0.0385036268, 0.186961588 }, { 0.0714289181, 0.0402939095, 0.196353558 }, { 0.076636756, 0.0419053329, 0.205798788 }, { 0.0819620773, 0.0433278666, 0.215289113 }, { 0.0874113897, 0.0445561662, 0.224813479 }, { 0.0929901526, 0.0455829503, 0.234357604 }, { 0.0987024972, 0.0464018731, 0.2439037 }, { 0.104550936, 0.0470080541, 0.2534303 }, { 0.110536084, 0.0473986708, 0.262912235 }, { 0.116656423, 0.047573592, 0.272320803 }, { 0.122908126, 0.0475360183, 0.28162417 }, { 0.129284984, 0.0472930838, 0.290788012 }, { 0.13577845, 0.0468563678, 0.299776404 }, { 0.142377819, 0.0462422566, 0.30855291 }, { 0.149072957, 0.0454676444, 0.317085139 }, { 0.155849711, 0.0445588056, 0.325338414 }, { 0.162688939, 0.0435542881, 0.333276678 }, { 0.169575148, 0.0424893149, 0.340874188 }, { 0.176493202, 0.0414017089, 0.348110606 }, { 0.183428775, 0.0403288858, 0.354971391 }, { 0.190367453, 0.0393088888, 0.361446945 }, { 0.197297425, 0.0384001825, 0.367534629 }, { 0.204209298, 0.0376322609, 0.373237557 }, { 0.211095463, 0.0370296488, 0.378563264 }, { 0.217948648, 0.0366146049, 0.383522415 }, { 0.224762908, 0.0364049901, 0.388128944 }, { 0.231538148, 0.0364052511, 0.39240015 }, { 0.238272961, 0.0366209949, 0.396353388 }, { 0.244966911, 0.0370545017, 0.400006615 }, { 0.251620354, 0.0377052832, 0.403377897 }, { 0.258234265, 0.0385706153, 0.406485031 }, { 0.264809649, 0.0396468666, 0.409345373 }, { 0.271346664, 0.0409215821, 0.411976086 }, { 0.277849829, 0.0423528741, 0.414392106 }, { 0.284321318, 0.0439325787, 0.416607861 }, { 0.290763373, 0.0456437598, 0.418636756 }, { 0.297178251, 0.0474700293, 0.420491164 }, { 0.303568182, 0.0493958927, 0.422182449 }, { 0.309935342, 0.0514069729, 0.423720999 }, { 0.316281835, 0.0534901321, 0.425116277 }, { 0.322609671, 0.0556335178, 0.426376869 }, { 0.328920763, 0.0578265505, 0.427510546 }, { 0.335216916, 0.0600598734, 0.42852432 }, { 0.341499828, 0.0623252772, 0.429424503 }, { 0.347771086, 0.06461561, 0.430216765 }, { 0.354032169, 0.0669246832, 0.430906186 }, { 0.360284449, 0.0692471753, 0.431497309 }, { 0.366529195, 0.0715785403, 0.431994185 }, { 0.372767575, 0.0739149211, 0.432400419 }, { 0.379000659, 0.0762530701, 0.432719214 }, { 0.385228383, 0.0785914864, 0.432954973 }, { 0.391452659, 0.0809267058, 0.433108763 }, { 0.397674379, 0.0832568129, 0.433182647 }, { 0.403894278, 0.0855803445, 0.433178526 }, { 0.410113015, 0.0878961593, 0.433098056 }, { 0.416331169, 0.0902033992, 0.432942678 }, { 0.422549249, 0.0925014543, 0.432713635 }, { 0.428767696, 0.0947899342, 0.432411996 }, { 0.434986885, 0.0970686417, 0.432038673 }, { 0.441207124, 0.099337551, 0.431594438 }, { 0.447428382, 0.101597079, 0.431080497 }, { 0.453650614, 0.103847716, 0.430497898 }, { 0.459874623, 0.106089165, 0.429845789 }, { 0.466100494, 0.108321923, 0.429124507 }, { 0.472328255, 0.110546584, 0.42833432 }, { 0.478557889, 0.112763831, 0.427475431 }, { 0.484789325, 0.11497443, 0.426547991 }, { 0.491022448, 0.117179219, 0.425552106 }, { 0.497257069, 0.119379132, 0.424487908 }, { 0.503492698, 0.121575414, 0.42335611 }, { 0.509729541, 0.123768654, 0.422155676 }, { 0.515967304, 0.125959947, 0.420886594 }, { 0.522205646, 0.128150439, 0.419548848 }, { 0.528444192, 0.130341324, 0.418142411 }, { 0.534682523, 0.132533845, 0.416667258 }, { 0.540920186, 0.134729286, 0.415123366 }, { 0.547156706, 0.136928959, 0.413510662 }, { 0.553391649, 0.139134147, 0.411828882 }, { 0.559624442, 0.141346265, 0.410078028 }, { 0.565854477, 0.143566769, 0.408258132 }, { 0.572081108, 0.14579715, 0.406369246 }, { 0.578303656, 0.148038934, 0.404411444 }, { 0.584521407, 0.150293679, 0.402384829 }, { 0.590733615, 0.152562977, 0.400289528 }, { 0.596939751, 0.154848232, 0.398124897 }, { 0.60313893, 0.157151161, 0.395891308 }, { 0.609330184, 0.159473549, 0.393589349 }, { 0.615512627, 0.161817111, 0.391219295 }, { 0.62168534, 0.164183582, 0.388781456 }, { 0.627847374, 0.166574724, 0.38627618 }, { 0.633997746, 0.168992314, 0.383703854 }, { 0.640135447, 0.17143815, 0.381064906 }, { 0.646259648, 0.173913876, 0.378358969 }, { 0.652369348, 0.176421271, 0.375586209 }, { 0.658463166, 0.178962399, 0.372748214 }, { 0.664539964, 0.181539111, 0.369845599 }, { 0.670598572, 0.184153268, 0.366879025 }, { 0.676637795, 0.186806728, 0.363849195 }, { 0.682656407, 0.189501352, 0.360756856 }, { 0.688653158, 0.192238994, 0.357602797 }, { 0.694626769, 0.1950215, 0.354387853 }, { 0.700575937, 0.197850703, 0.3511129 }, { 0.706499709, 0.200728196, 0.347776863 }, { 0.712396345, 0.203656029, 0.344382594 }, { 0.718264447, 0.206635993, 0.340931208 }, { 0.724102613, 0.209669834, 0.337423766 }, { 0.729909422, 0.21275927, 0.333861367 }, { 0.735683432, 0.215905976, 0.330245147 }, { 0.741423185, 0.219111589, 0.326576275 }, { 0.747127207, 0.222377697, 0.322855952 }, { 0.752794009, 0.225705837, 0.31908541 }, { 0.75842209, 0.229097492, 0.31526591 }, { 0.76400994, 0.232554083, 0.311398734 }, { 0.769556038, 0.236076967, 0.307485188 }, { 0.775058888, 0.239667435, 0.303526312 }, { 0.780517023, 0.24332672, 0.299522665 }, { 0.785928794, 0.247055968, 0.295476756 }, { 0.791292674, 0.250856232, 0.291389943 }, { 0.796607144, 0.254728485, 0.287263585 }, { 0.801870689, 0.25867361, 0.283099033 }, { 0.807081807, 0.262692401, 0.278897629 }, { 0.812239008, 0.266785558, 0.274660698 }, { 0.817340818, 0.270953688, 0.270389545 }, { 0.822385784, 0.2751973, 0.266085445 }, { 0.827372474, 0.279516805, 0.261749643 }, { 0.832299481, 0.283912516, 0.257383341 }, { 0.837165425, 0.288384647, 0.2529877 }, { 0.841968959, 0.292933312, 0.248563825 }, { 0.846708768, 0.297558528, 0.244112767 }, { 0.851383572, 0.302260213, 0.239635512 }, { 0.85599213, 0.307038188, 0.235132978 }, { 0.860533241, 0.311892183, 0.230606009 }, { 0.865005747, 0.316821833, 0.226055368 }, { 0.869408534, 0.321826685, 0.221481734 }, { 0.87374053, 0.326906201, 0.216885699 }, { 0.878000715, 0.33205976, 0.212267762 }, { 0.882188112, 0.337286663, 0.207628326 }, { 0.886301795, 0.342586137, 0.202967696 }, { 0.890340885, 0.34795734, 0.19828608 }, { 0.894304553, 0.353399363, 0.193583583 }, { 0.898192017, 0.35891124, 0.188860212 }, { 0.902002544, 0.364491949, 0.184115876 }, { 0.905735448, 0.370140419, 0.179350388 }, { 0.90939009, 0.375855533, 0.174563472 }, { 0.912965874, 0.381636138, 0.169754764 }, { 0.916462251, 0.387481044, 0.164923826 }, { 0.91987871, 0.393389034, 0.160070152 }, { 0.923214783, 0.399358867, 0.155193185 }, { 0.926470039, 0.405389282, 0.150292329 }, { 0.929644083, 0.411479007, 0.145366973 }, { 0.932736555, 0.417626756, 0.140416519 }, { 0.935747126, 0.423831237, 0.135440416 }, { 0.938675494, 0.430091162, 0.130438175 }, { 0.941521384, 0.436405243, 0.12540944 }, { 0.944284543, 0.442772199, 0.120354038 }, { 0.946964741, 0.449190757, 0.115272059 }, { 0.949561766, 0.455659658, 0.110163947 }, { 0.952075421, 0.462177656, 0.105030614 }, { 0.954505523, 0.468743522, 0.0998735931 }, { 0.956851903, 0.475356048, 0.0946952268 }, { 0.959114397, 0.482014044, 0.0894989073 }, { 0.96129285, 0.488716345, 0.0842893891 }, { 0.96338711, 0.495461806, 0.0790731907 }, { 0.965397031, 0.502249309, 0.0738591143 }, { 0.967322465, 0.509077761, 0.0686589199 }, { 0.969163264, 0.515946092, 0.0634881971 }, { 0.970919277, 0.522853259, 0.058367489 }, { 0.972590351, 0.529798246, 0.0533237243 }, { 0.974176327, 0.536780059, 0.048392009 }, { 0.975677038, 0.543797733, 0.0436177922 }, { 0.977092313, 0.550850323, 0.0390500131 }, { 0.978421971, 0.557936911, 0.0349306227 }, { 0.979665824, 0.5650566, 0.0314091591 }, { 0.980823673, 0.572208516, 0.0285075931 }, { 0.981895311, 0.579391803, 0.0262497353 }, { 0.982880522, 0.586605627, 0.0246613416 }, { 0.983779081, 0.593849168, 0.0237702263 }, { 0.984590755, 0.601121626, 0.0236063833 }, { 0.985315301, 0.608422211, 0.0242021174 }, { 0.985952471, 0.615750147, 0.0255921853 }, { 0.986502013, 0.623104667, 0.0278139496 }, { 0.98696367, 0.630485011, 0.0309075459 }, { 0.987337182, 0.637890424, 0.0349160639 }, { 0.987622296, 0.645320152, 0.0398857472 }, { 0.987818759, 0.652773439, 0.0455808037 }, { 0.98792633, 0.660249526, 0.0517503867 }, { 0.987944783, 0.667747641, 0.0583286889 }, { 0.98787391, 0.675267, 0.0652570167 }, { 0.987713535, 0.682806802, 0.072489233 }, { 0.987463516, 0.690366218, 0.0799897176 }, { 0.987123759, 0.697944391, 0.0877314215 }, { 0.986694229, 0.705540424, 0.0956941797 }, { 0.98617497, 0.713153375, 0.103863324 }, { 0.985565739, 0.72078246, 0.112228756 }, { 0.984865203, 0.728427497, 0.120784651 }, { 0.984075129, 0.736086521, 0.129526579 }, { 0.983195992, 0.743758326, 0.138453063 }, { 0.982228463, 0.751441596, 0.147564573 }, { 0.981173457, 0.759134892, 0.156863224 }, { 0.980032178, 0.766836624, 0.166352544 }, { 0.978806183, 0.774545028, 0.176037298 }, { 0.977497453, 0.782258138, 0.185923357 }, { 0.976108474, 0.789973753, 0.196017589 }, { 0.974637842, 0.797691563, 0.206331925 }, { 0.973087939, 0.805409333, 0.216876839 }, { 0.971467822, 0.813121725, 0.227658046 }, { 0.969783146, 0.820825143, 0.238685942 }, { 0.968040817, 0.828515491, 0.249971582 }, { 0.966242589, 0.836190976, 0.261533898 }, { 0.964393924, 0.843848069, 0.273391112 }, { 0.962516656, 0.85147634, 0.285545675 }, { 0.960625545, 0.859068716, 0.298010219 }, { 0.958720088, 0.866624355, 0.310820466 }, { 0.956834075, 0.874128569, 0.323973947 }, { 0.954997177, 0.881568926, 0.337475479 }, { 0.953215092, 0.888942277, 0.351368713 }, { 0.951546225, 0.896225909, 0.365627005 }, { 0.950018481, 0.903409063, 0.380271225 }, { 0.948683391, 0.910472964, 0.395289169 }, { 0.947594362, 0.917399053, 0.410665194 }, { 0.946809163, 0.924168246, 0.426373236 }, { 0.946391536, 0.930760752, 0.442367495 }, { 0.946402951, 0.937158971, 0.458591507 }, { 0.946902568, 0.943347775, 0.474969778 }, { 0.947936825, 0.949317522, 0.491426053 }, { 0.94954483, 0.9550629, 0.507859649 }, { 0.951740304, 0.960586693, 0.524203026 }, { 0.954529281, 0.965895868, 0.540360752 }, { 0.957896053, 0.97100333, 0.55627509 }, { 0.96181202, 0.975924241, 0.571925382 }, { 0.966248822, 0.980678193, 0.587205773 }, { 0.971161622, 0.985282161, 0.60215433 }, { 0.976510983, 0.989753437, 0.616760413 }, { 0.982257307, 0.994108844, 0.631017009 }, { 0.988362068, 0.998364143, 0.644924005 } };</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span>        <span class="keyword">private</span> <span class="keyword">static</span> <span class="keywordtype">double</span>[,] PlasmaRGB = <span class="keyword">new</span> <span class="keywordtype">double</span>[256, 3] { { 0.0503832136, 0.0298028976, 0.527974883 }, { 0.0635363639, 0.0284259729, 0.533123681 }, { 0.0753531234, 0.0272063728, 0.538007001 }, { 0.0862217979, 0.0261253206, 0.542657691 }, { 0.0963786097, 0.0251650976, 0.547103487 }, { 0.105979704, 0.0243092436, 0.551367851 }, { 0.115123641, 0.02355625, 0.555467728 }, { 0.123902903, 0.0228781011, 0.55942348 }, { 0.13238072, 0.0222583774, 0.563250116 }, { 0.140603076, 0.0216866674, 0.566959485 }, { 0.148606527, 0.0211535876, 0.570561711 }, { 0.156420649, 0.0206507174, 0.574065446 }, { 0.164069722, 0.0201705326, 0.577478074 }, { 0.171573925, 0.0197063415, 0.58080589 }, { 0.178950212, 0.0192522243, 0.584054243 }, { 0.186212958, 0.0188029767, 0.587227661 }, { 0.193374449, 0.0183540593, 0.590329954 }, { 0.20044526, 0.0179015512, 0.593364304 }, { 0.207434551, 0.0174421086, 0.596333341 }, { 0.214350298, 0.0169729276, 0.599239207 }, { 0.22119675, 0.0164970484, 0.602083323 }, { 0.227982971, 0.0160071509, 0.604867403 }, { 0.234714537, 0.0155015065, 0.607592438 }, { 0.241396253, 0.0149791041, 0.610259089 }, { 0.248032377, 0.0144393586, 0.612867743 }, { 0.25462669, 0.0138820918, 0.615418537 }, { 0.261182562, 0.0133075156, 0.617911385 }, { 0.267702993, 0.0127162163, 0.620345997 }, { 0.274190665, 0.0121091423, 0.622721903 }, { 0.280647969, 0.0114875915, 0.625038468 }, { 0.287076059, 0.0108554862, 0.627294975 }, { 0.293477695, 0.0102128849, 0.62949049 }, { 0.299855122, 0.00956079551, 0.631623923 }, { 0.306209825, 0.00890185346, 0.633694102 }, { 0.312543124, 0.00823900704, 0.635699759 }, { 0.318856183, 0.00757551051, 0.637639537 }, { 0.325150025, 0.00691491734, 0.639512001 }, { 0.331425547, 0.00626107379, 0.641315649 }, { 0.337683446, 0.00561830889, 0.643048936 }, { 0.343924591, 0.0049905308, 0.644710195 }, { 0.350149699, 0.00438202557, 0.646297711 }, { 0.356359209, 0.00379781761, 0.647809772 }, { 0.362553473, 0.00324319591, 0.649244641 }, { 0.368732762, 0.00272370721, 0.650600561 }, { 0.37489727, 0.00224514897, 0.651875762 }, { 0.381047116, 0.00181356205, 0.653068467 }, { 0.387182639, 0.00143446923, 0.654176761 }, { 0.39330401, 0.00111388259, 0.655198755 }, { 0.399410821, 0.000859420809, 0.656132835 }, { 0.405502914, 0.000678091517, 0.656977276 }, { 0.411580082, 0.000577101735, 0.65773038 }, { 0.417642063, 0.000563847476, 0.658390492 }, { 0.423688549, 0.00064590278, 0.658956004 }, { 0.429719186, 0.000831008207, 0.659425363 }, { 0.435733575, 0.00112705875, 0.659797077 }, { 0.441732123, 0.00153984779, 0.660069009 }, { 0.4477136, 0.00207954744, 0.660240367 }, { 0.453677394, 0.00275470302, 0.660309966 }, { 0.459622938, 0.00357374415, 0.660276655 }, { 0.465549631, 0.00454518084, 0.660139383 }, { 0.471456847, 0.00567758762, 0.65989721 }, { 0.477343929, 0.00697958743, 0.659549311 }, { 0.483210198, 0.00845983494, 0.659094989 }, { 0.489054951, 0.0101269996, 0.658533677 }, { 0.494877466, 0.0119897486, 0.657864946 }, { 0.500677687, 0.014055064, 0.657087561 }, { 0.506454143, 0.0163333443, 0.656202294 }, { 0.512206035, 0.0188332232, 0.655209222 }, { 0.51793258, 0.0215631918, 0.654108545 }, { 0.52363299, 0.0245316468, 0.652900629 }, { 0.529306474, 0.0277468735, 0.65158601 }, { 0.534952244, 0.03121703, 0.650165396 }, { 0.54056951, 0.034950131, 0.648639668 }, { 0.546157494, 0.0389540334, 0.647009884 }, { 0.551715423, 0.0431364795, 0.645277275 }, { 0.557242538, 0.0473307585, 0.64344325 }, { 0.562738096, 0.0515448092, 0.641509389 }, { 0.568201372, 0.0557776706, 0.63947744 }, { 0.573631859, 0.0600281369, 0.637348841 }, { 0.579028682, 0.0642955547, 0.635126108 }, { 0.584391137, 0.0685790261, 0.632811608 }, { 0.589718606, 0.0728775875, 0.630407727 }, { 0.595010505, 0.0771902878, 0.627916992 }, { 0.600266283, 0.0815161895, 0.625342058 }, { 0.605485428, 0.0858543713, 0.622685703 }, { 0.610667469, 0.0902039303, 0.619950811 }, { 0.615811974, 0.0945639838, 0.617140367 }, { 0.620918555, 0.0989336721, 0.61425744 }, { 0.625986869, 0.10331216, 0.611305174 }, { 0.631016615, 0.107698641, 0.608286774 }, { 0.636007543, 0.112092335, 0.605205491 }, { 0.640959444, 0.116492495, 0.602064611 }, { 0.645872158, 0.120898405, 0.598867442 }, { 0.650745571, 0.125309384, 0.5956173 }, { 0.655579615, 0.129724785, 0.592317494 }, { 0.660374266, 0.134143997, 0.588971318 }, { 0.665129493, 0.138566428, 0.585582301 }, { 0.669845385, 0.14299154, 0.582153572 }, { 0.67452206, 0.147418835, 0.578688247 }, { 0.679159664, 0.151847851, 0.575189431 }, { 0.683758384, 0.156278163, 0.571660158 }, { 0.68831844, 0.160709387, 0.56810338 }, { 0.692840088, 0.165141174, 0.564521958 }, { 0.697323615, 0.169573215, 0.560918659 }, { 0.701769334, 0.174005236, 0.557296144 }, { 0.70617759, 0.178437, 0.55365697 }, { 0.710548747, 0.182868306, 0.550003579 }, { 0.714883195, 0.187298986, 0.546338299 }, { 0.719181339, 0.191728906, 0.542663338 }, { 0.723443604, 0.196157962, 0.538980786 }, { 0.727670428, 0.200586086, 0.535292612 }, { 0.731862231, 0.205013174, 0.531600995 }, { 0.736019424, 0.209439071, 0.527908434 }, { 0.740142557, 0.213863965, 0.524215533 }, { 0.744232102, 0.218287899, 0.520523766 }, { 0.748288533, 0.222710942, 0.516834495 }, { 0.752312321, 0.227133187, 0.513148963 }, { 0.756303937, 0.231554749, 0.509468305 }, { 0.760263849, 0.235975765, 0.505793543 }, { 0.764192516, 0.240396394, 0.502125599 }, { 0.768090391, 0.244816813, 0.49846529 }, { 0.771957916, 0.24923722, 0.494813338 }, { 0.775795522, 0.253657797, 0.491170517 }, { 0.779603614, 0.258078397, 0.487539124 }, { 0.783382636, 0.262499662, 0.483917732 }, { 0.787132978, 0.266921859, 0.480306702 }, { 0.790855015, 0.271345267, 0.476706319 }, { 0.794549101, 0.275770179, 0.473116798 }, { 0.798215577, 0.280196901, 0.469538286 }, { 0.801854758, 0.28462575, 0.465970871 }, { 0.805466945, 0.289057057, 0.46241458 }, { 0.809052419, 0.293491117, 0.458869577 }, { 0.812611506, 0.297927865, 0.455337565 }, { 0.816144382, 0.30236813, 0.451816385 }, { 0.819651255, 0.306812282, 0.448305861 }, { 0.823132309, 0.311260703, 0.444805781 }, { 0.826587706, 0.315713782, 0.441315901 }, { 0.830017584, 0.320171913, 0.437835947 }, { 0.833422053, 0.324635499, 0.434365616 }, { 0.836801237, 0.329104836, 0.430905052 }, { 0.840155276, 0.333580106, 0.427454836 }, { 0.843484103, 0.338062109, 0.424013059 }, { 0.846787726, 0.342551272, 0.420579333 }, { 0.850066132, 0.347048028, 0.417153264 }, { 0.853319279, 0.351552815, 0.413734445 }, { 0.856547103, 0.356066072, 0.410322469 }, { 0.85974952, 0.360588229, 0.406916975 }, { 0.862926559, 0.365119408, 0.403518809 }, { 0.86607792, 0.369660446, 0.400126027 }, { 0.869203436, 0.374211795, 0.396738211 }, { 0.872302917, 0.37877391, 0.393354947 }, { 0.875376149, 0.383347243, 0.389975832 }, { 0.878422895, 0.387932249, 0.386600468 }, { 0.881442916, 0.392529339, 0.383228622 }, { 0.884435982, 0.397138877, 0.379860246 }, { 0.887401682, 0.401761511, 0.376494232 }, { 0.890339687, 0.406397694, 0.373130228 }, { 0.893249647, 0.411047871, 0.369767893 }, { 0.896131191, 0.415712489, 0.366406907 }, { 0.898983931, 0.420391986, 0.363046965 }, { 0.901807455, 0.425086807, 0.359687758 }, { 0.904601295, 0.429797442, 0.356328796 }, { 0.907364995, 0.434524335, 0.352969777 }, { 0.910098088, 0.439267908, 0.349610469 }, { 0.912800095, 0.444028574, 0.346250656 }, { 0.915470518, 0.448806744, 0.342890148 }, { 0.918108848, 0.453602818, 0.339528771 }, { 0.920714383, 0.45841742, 0.336165582 }, { 0.92328666, 0.463250828, 0.332800827 }, { 0.925825146, 0.468103387, 0.329434512 }, { 0.928329275, 0.472975465, 0.32606655 }, { 0.930798469, 0.47786742, 0.322696876 }, { 0.93323214, 0.482779603, 0.319325444 }, { 0.935629684, 0.487712357, 0.315952211 }, { 0.937990034, 0.492666544, 0.31257544 }, { 0.940312939, 0.497642038, 0.309196628 }, { 0.942597771, 0.502639147, 0.305815824 }, { 0.944843893, 0.507658169, 0.302433101 }, { 0.947050662, 0.51269939, 0.299048555 }, { 0.949217427, 0.517763087, 0.295662308 }, { 0.95134353, 0.522849522, 0.292274506 }, { 0.953427725, 0.52795955, 0.288883445 }, { 0.95546964, 0.533093083, 0.285490391 }, { 0.95746877, 0.538250172, 0.282096149 }, { 0.95942443, 0.543431038, 0.27870099 }, { 0.96133593, 0.54863589, 0.275305214 }, { 0.963202573, 0.553864931, 0.271909159 }, { 0.965023656, 0.559118349, 0.2685132 }, { 0.96679847, 0.564396327, 0.265117752 }, { 0.968525639, 0.569699633, 0.261721488 }, { 0.970204593, 0.57502827, 0.258325424 }, { 0.971835007, 0.580382015, 0.254931256 }, { 0.973416145, 0.585761012, 0.251539615 }, { 0.974947262, 0.591165394, 0.2481512 }, { 0.976427606, 0.596595287, 0.244766775 }, { 0.977856416, 0.602050811, 0.241387186 }, { 0.979232922, 0.607532077, 0.238013359 }, { 0.980556344, 0.61303919, 0.234646316 }, { 0.98182589, 0.61857225, 0.231287178 }, { 0.983040742, 0.624131362, 0.227937141 }, { 0.984198924, 0.629717516, 0.224595006 }, { 0.98530076, 0.635329876, 0.221264889 }, { 0.986345421, 0.640968508, 0.217948456 }, { 0.987332067, 0.646633475, 0.214647532 }, { 0.988259846, 0.652324832, 0.211364122 }, { 0.989127893, 0.65804263, 0.208100426 }, { 0.989935328, 0.663786914, 0.204858855 }, { 0.990681261, 0.66955772, 0.201642049 }, { 0.991364787, 0.675355082, 0.1984529 }, { 0.99198499, 0.681179025, 0.195294567 }, { 0.992540939, 0.687029567, 0.1921705 }, { 0.993031693, 0.692906719, 0.189084459 }, { 0.993456302, 0.698810484, 0.186040537 }, { 0.993813802, 0.704740854, 0.18304318 }, { 0.994103226, 0.710697814, 0.180097207 }, { 0.994323596, 0.716681336, 0.177207826 }, { 0.994473934, 0.722691379, 0.174380656 }, { 0.99455326, 0.72872789, 0.171621733 }, { 0.994560594, 0.734790799, 0.168937522 }, { 0.994494964, 0.74088002, 0.166334918 }, { 0.994355411, 0.746995448, 0.163821243 }, { 0.994140989, 0.753136955, 0.161404226 }, { 0.993850778, 0.75930439, 0.159091984 }, { 0.99348219, 0.765498551, 0.156890625 }, { 0.993033251, 0.771719833, 0.154807583 }, { 0.992505214, 0.777966775, 0.152854862 }, { 0.99189727, 0.78423912, 0.151041581 }, { 0.99120868, 0.790536569, 0.149376885 }, { 0.990438793, 0.796858775, 0.14786981 }, { 0.989587065, 0.803205337, 0.146529128 }, { 0.988647741, 0.809578605, 0.145357284 }, { 0.987620557, 0.815977942, 0.144362644 }, { 0.986509366, 0.82240062, 0.143556679 }, { 0.985314198, 0.82884598, 0.142945116 }, { 0.984031139, 0.83531536, 0.142528388 }, { 0.98265282, 0.84181173, 0.142302653 }, { 0.981190389, 0.848328902, 0.142278607 }, { 0.979643637, 0.854866468, 0.142453425 }, { 0.977994918, 0.861432314, 0.142808191 }, { 0.976264977, 0.868015998, 0.143350944 }, { 0.974443038, 0.874622194, 0.144061156 }, { 0.972530009, 0.881250063, 0.144922913 }, { 0.970532932, 0.887896125, 0.145918663 }, { 0.968443477, 0.894563989, 0.147014438 }, { 0.966271225, 0.901249365, 0.148179639 }, { 0.964021057, 0.907950379, 0.149370428 }, { 0.961681481, 0.914672479, 0.150520343 }, { 0.959275646, 0.921406537, 0.151566019 }, { 0.956808068, 0.928152065, 0.152409489 }, { 0.954286813, 0.93490773, 0.152921158 }, { 0.951726083, 0.941670605, 0.152925363 }, { 0.949150533, 0.9484349, 0.152177604 }, { 0.94660227, 0.95518986, 0.150327944 }, { 0.944151742, 0.961916487, 0.146860789 }, { 0.94189612, 0.968589814, 0.140955606 }, { 0.940015097, 0.975158357, 0.131325517 } };</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span>        <span class="keyword">private</span> <span class="keyword">static</span> <span class="keywordtype">double</span>[,] ViridisRGB = <span class="keyword">new</span> <span class="keywordtype">double</span>[256, 3] { { 0.26700401, 0.00487433, 0.32941519 }, { 0.26851048, 0.00960483, 0.33542652 }, { 0.26994384, 0.01462494, 0.34137895 }, { 0.27130489, 0.01994186, 0.34726862 }, { 0.27259384, 0.02556309, 0.35309303 }, { 0.27380934, 0.03149748, 0.35885256 }, { 0.27495242, 0.03775181, 0.36454323 }, { 0.27602238, 0.04416723, 0.37016418 }, { 0.2770184, 0.05034437, 0.37571452 }, { 0.27794143, 0.05632444, 0.38119074 }, { 0.27879067, 0.06214536, 0.38659204 }, { 0.2795655, 0.06783587, 0.39191723 }, { 0.28026658, 0.07341724, 0.39716349 }, { 0.28089358, 0.07890703, 0.40232944 }, { 0.28144581, 0.0843197, 0.40741404 }, { 0.28192358, 0.08966622, 0.41241521 }, { 0.28232739, 0.09495545, 0.41733086 }, { 0.28265633, 0.10019576, 0.42216032 }, { 0.28291049, 0.10539345, 0.42690202 }, { 0.28309095, 0.11055307, 0.43155375 }, { 0.28319704, 0.11567966, 0.43611482 }, { 0.28322882, 0.12077701, 0.44058404 }, { 0.28318684, 0.12584799, 0.44496 }, { 0.283072, 0.13089477, 0.44924127 }, { 0.28288389, 0.13592005, 0.45342734 }, { 0.28262297, 0.14092556, 0.45751726 }, { 0.28229037, 0.14591233, 0.46150995 }, { 0.28188676, 0.15088147, 0.46540474 }, { 0.28141228, 0.15583425, 0.46920128 }, { 0.28086773, 0.16077132, 0.47289909 }, { 0.28025468, 0.16569272, 0.47649762 }, { 0.27957399, 0.17059884, 0.47999675 }, { 0.27882618, 0.1754902, 0.48339654 }, { 0.27801236, 0.18036684, 0.48669702 }, { 0.27713437, 0.18522836, 0.48989831 }, { 0.27619376, 0.19007447, 0.49300074 }, { 0.27519116, 0.1949054, 0.49600488 }, { 0.27412802, 0.19972086, 0.49891131 }, { 0.27300596, 0.20452049, 0.50172076 }, { 0.27182812, 0.20930306, 0.50443413 }, { 0.27059473, 0.21406899, 0.50705243 }, { 0.26930756, 0.21881782, 0.50957678 }, { 0.26796846, 0.22354911, 0.5120084 }, { 0.26657984, 0.2282621, 0.5143487 }, { 0.2651445, 0.23295593, 0.5165993 }, { 0.2636632, 0.23763078, 0.51876163 }, { 0.26213801, 0.24228619, 0.52083736 }, { 0.26057103, 0.2469217, 0.52282822 }, { 0.25896451, 0.25153685, 0.52473609 }, { 0.25732244, 0.2561304, 0.52656332 }, { 0.25564519, 0.26070284, 0.52831152 }, { 0.25393498, 0.26525384, 0.52998273 }, { 0.25219404, 0.26978306, 0.53157905 }, { 0.25042462, 0.27429024, 0.53310261 }, { 0.24862899, 0.27877509, 0.53455561 }, { 0.2468114, 0.28323662, 0.53594093 }, { 0.24497208, 0.28767547, 0.53726018 }, { 0.24311324, 0.29209154, 0.53851561 }, { 0.24123708, 0.29648471, 0.53970946 }, { 0.23934575, 0.30085494, 0.54084398 }, { 0.23744138, 0.30520222, 0.5419214 }, { 0.23552606, 0.30952657, 0.54294396 }, { 0.23360277, 0.31382773, 0.54391424 }, { 0.2316735, 0.3181058, 0.54483444 }, { 0.22973926, 0.32236127, 0.54570633 }, { 0.22780192, 0.32659432, 0.546532 }, { 0.2258633, 0.33080515, 0.54731353 }, { 0.22392515, 0.334994, 0.54805291 }, { 0.22198915, 0.33916114, 0.54875211 }, { 0.22005691, 0.34330688, 0.54941304 }, { 0.21812995, 0.34743154, 0.55003755 }, { 0.21620971, 0.35153548, 0.55062743 }, { 0.21429757, 0.35561907, 0.5511844 }, { 0.21239477, 0.35968273, 0.55171011 }, { 0.2105031, 0.36372671, 0.55220646 }, { 0.20862342, 0.36775151, 0.55267486 }, { 0.20675628, 0.37175775, 0.55311653 }, { 0.20490257, 0.37574589, 0.55353282 }, { 0.20306309, 0.37971644, 0.55392505 }, { 0.20123854, 0.38366989, 0.55429441 }, { 0.1994295, 0.38760678, 0.55464205 }, { 0.1976365, 0.39152762, 0.55496905 }, { 0.19585993, 0.39543297, 0.55527637 }, { 0.19410009, 0.39932336, 0.55556494 }, { 0.19235719, 0.40319934, 0.55583559 }, { 0.19063135, 0.40706148, 0.55608907 }, { 0.18892259, 0.41091033, 0.55632606 }, { 0.18723083, 0.41474645, 0.55654717 }, { 0.18555593, 0.4185704, 0.55675292 }, { 0.18389763, 0.42238275, 0.55694377 }, { 0.18225561, 0.42618405, 0.5571201 }, { 0.18062949, 0.42997486, 0.55728221 }, { 0.17901879, 0.43375572, 0.55743035 }, { 0.17742298, 0.4375272, 0.55756466 }, { 0.17584148, 0.44128981, 0.55768526 }, { 0.17427363, 0.4450441, 0.55779216 }, { 0.17271876, 0.4487906, 0.55788532 }, { 0.17117615, 0.4525298, 0.55796464 }, { 0.16964573, 0.45626209, 0.55803034 }, { 0.16812641, 0.45998802, 0.55808199 }, { 0.1666171, 0.46370813, 0.55811913 }, { 0.16511703, 0.4674229, 0.55814141 }, { 0.16362543, 0.47113278, 0.55814842 }, { 0.16214155, 0.47483821, 0.55813967 }, { 0.16066467, 0.47853961, 0.55811466 }, { 0.15919413, 0.4822374, 0.5580728 }, { 0.15772933, 0.48593197, 0.55801347 }, { 0.15626973, 0.4896237, 0.557936 }, { 0.15481488, 0.49331293, 0.55783967 }, { 0.15336445, 0.49700003, 0.55772371 }, { 0.1519182, 0.50068529, 0.55758733 }, { 0.15047605, 0.50436904, 0.55742968 }, { 0.14903918, 0.50805136, 0.5572505 }, { 0.14760731, 0.51173263, 0.55704861 }, { 0.14618026, 0.51541316, 0.55682271 }, { 0.14475863, 0.51909319, 0.55657181 }, { 0.14334327, 0.52277292, 0.55629491 }, { 0.14193527, 0.52645254, 0.55599097 }, { 0.14053599, 0.53013219, 0.55565893 }, { 0.13914708, 0.53381201, 0.55529773 }, { 0.13777048, 0.53749213, 0.55490625 }, { 0.1364085, 0.54117264, 0.55448339 }, { 0.13506561, 0.54485335, 0.55402906 }, { 0.13374299, 0.54853458, 0.55354108 }, { 0.13244401, 0.55221637, 0.55301828 }, { 0.13117249, 0.55589872, 0.55245948 }, { 0.1299327, 0.55958162, 0.55186354 }, { 0.12872938, 0.56326503, 0.55122927 }, { 0.12756771, 0.56694891, 0.55055551 }, { 0.12645338, 0.57063316, 0.5498411 }, { 0.12539383, 0.57431754, 0.54908564 }, { 0.12439474, 0.57800205, 0.5482874 }, { 0.12346281, 0.58168661, 0.54744498 }, { 0.12260562, 0.58537105, 0.54655722 }, { 0.12183122, 0.58905521, 0.54562298 }, { 0.12114807, 0.59273889, 0.54464114 }, { 0.12056501, 0.59642187, 0.54361058 }, { 0.12009154, 0.60010387, 0.54253043 }, { 0.11973756, 0.60378459, 0.54139999 }, { 0.11951163, 0.60746388, 0.54021751 }, { 0.11942341, 0.61114146, 0.53898192 }, { 0.11948255, 0.61481702, 0.53769219 }, { 0.11969858, 0.61849025, 0.53634733 }, { 0.12008079, 0.62216081, 0.53494633 }, { 0.12063824, 0.62582833, 0.53348834 }, { 0.12137972, 0.62949242, 0.53197275 }, { 0.12231244, 0.63315277, 0.53039808 }, { 0.12344358, 0.63680899, 0.52876343 }, { 0.12477953, 0.64046069, 0.52706792 }, { 0.12632581, 0.64410744, 0.52531069 }, { 0.12808703, 0.64774881, 0.52349092 }, { 0.13006688, 0.65138436, 0.52160791 }, { 0.13226797, 0.65501363, 0.51966086 }, { 0.13469183, 0.65863619, 0.5176488 }, { 0.13733921, 0.66225157, 0.51557101 }, { 0.14020991, 0.66585927, 0.5134268 }, { 0.14330291, 0.66945881, 0.51121549 }, { 0.1466164, 0.67304968, 0.50893644 }, { 0.15014782, 0.67663139, 0.5065889 }, { 0.15389405, 0.68020343, 0.50417217 }, { 0.15785146, 0.68376525, 0.50168574 }, { 0.16201598, 0.68731632, 0.49912906 }, { 0.1663832, 0.69085611, 0.49650163 }, { 0.1709484, 0.69438405, 0.49380294 }, { 0.17570671, 0.6978996, 0.49103252 }, { 0.18065314, 0.70140222, 0.48818938 }, { 0.18578266, 0.70489133, 0.48527326 }, { 0.19109018, 0.70836635, 0.48228395 }, { 0.19657063, 0.71182668, 0.47922108 }, { 0.20221902, 0.71527175, 0.47608431 }, { 0.20803045, 0.71870095, 0.4728733 }, { 0.21400015, 0.72211371, 0.46958774 }, { 0.22012381, 0.72550945, 0.46622638 }, { 0.2263969, 0.72888753, 0.46278934 }, { 0.23281498, 0.73224735, 0.45927675 }, { 0.2393739, 0.73558828, 0.45568838 }, { 0.24606968, 0.73890972, 0.45202405 }, { 0.25289851, 0.74221104, 0.44828355 }, { 0.25985676, 0.74549162, 0.44446673 }, { 0.26694127, 0.74875084, 0.44057284 }, { 0.27414922, 0.75198807, 0.4366009 }, { 0.28147681, 0.75520266, 0.43255207 }, { 0.28892102, 0.75839399, 0.42842626 }, { 0.29647899, 0.76156142, 0.42422341 }, { 0.30414796, 0.76470433, 0.41994346 }, { 0.31192534, 0.76782207, 0.41558638 }, { 0.3198086, 0.77091403, 0.41115215 }, { 0.3277958, 0.77397953, 0.40664011 }, { 0.33588539, 0.7770179, 0.40204917 }, { 0.34407411, 0.78002855, 0.39738103 }, { 0.35235985, 0.78301086, 0.39263579 }, { 0.36074053, 0.78596419, 0.38781353 }, { 0.3692142, 0.78888793, 0.38291438 }, { 0.37777892, 0.79178146, 0.3779385 }, { 0.38643282, 0.79464415, 0.37288606 }, { 0.39517408, 0.79747541, 0.36775726 }, { 0.40400101, 0.80027461, 0.36255223 }, { 0.4129135, 0.80304099, 0.35726893 }, { 0.42190813, 0.80577412, 0.35191009 }, { 0.43098317, 0.80847343, 0.34647607 }, { 0.44013691, 0.81113836, 0.3409673 }, { 0.44936763, 0.81376835, 0.33538426 }, { 0.45867362, 0.81636288, 0.32972749 }, { 0.46805314, 0.81892143, 0.32399761 }, { 0.47750446, 0.82144351, 0.31819529 }, { 0.4870258, 0.82392862, 0.31232133 }, { 0.49661536, 0.82637633, 0.30637661 }, { 0.5062713, 0.82878621, 0.30036211 }, { 0.51599182, 0.83115784, 0.29427888 }, { 0.52577622, 0.83349064, 0.2881265 }, { 0.5356211, 0.83578452, 0.28190832 }, { 0.5455244, 0.83803918, 0.27562602 }, { 0.55548397, 0.84025437, 0.26928147 }, { 0.5654976, 0.8424299, 0.26287683 }, { 0.57556297, 0.84456561, 0.25641457 }, { 0.58567772, 0.84666139, 0.24989748 }, { 0.59583934, 0.84871722, 0.24332878 }, { 0.60604528, 0.8507331, 0.23671214 }, { 0.61629283, 0.85270912, 0.23005179 }, { 0.62657923, 0.85464543, 0.22335258 }, { 0.63690157, 0.85654226, 0.21662012 }, { 0.64725685, 0.85839991, 0.20986086 }, { 0.65764197, 0.86021878, 0.20308229 }, { 0.66805369, 0.86199932, 0.19629307 }, { 0.67848868, 0.86374211, 0.18950326 }, { 0.68894351, 0.86544779, 0.18272455 }, { 0.69941463, 0.86711711, 0.17597055 }, { 0.70989842, 0.86875092, 0.16925712 }, { 0.72039115, 0.87035015, 0.16260273 }, { 0.73088902, 0.87191584, 0.15602894 }, { 0.74138803, 0.87344918, 0.14956101 }, { 0.75188414, 0.87495143, 0.14322828 }, { 0.76237342, 0.87642392, 0.13706449 }, { 0.77285183, 0.87786808, 0.13110864 }, { 0.78331535, 0.87928545, 0.12540538 }, { 0.79375994, 0.88067763, 0.12000532 }, { 0.80418159, 0.88204632, 0.11496505 }, { 0.81457634, 0.88339329, 0.11034678 }, { 0.82494028, 0.88472036, 0.10621724 }, { 0.83526959, 0.88602943, 0.1026459 }, { 0.84556056, 0.88732243, 0.09970219 }, { 0.8558096, 0.88860134, 0.09745186 }, { 0.86601325, 0.88986815, 0.09595277 }, { 0.87616824, 0.89112487, 0.09525046 }, { 0.88627146, 0.89237353, 0.09537439 }, { 0.89632002, 0.89361614, 0.09633538 }, { 0.90631121, 0.89485467, 0.09812496 }, { 0.91624212, 0.89609127, 0.1007168 }, { 0.92610579, 0.89732977, 0.10407067 }, { 0.93590444, 0.8985704, 0.10813094 }, { 0.94563626, 0.899815, 0.11283773 }, { 0.95529972, 0.90106534, 0.11812832 }, { 0.96489353, 0.90232311, 0.12394051 }, { 0.97441665, 0.90358991, 0.13021494 }, { 0.98386829, 0.90486726, 0.13689671 }, { 0.99324789, 0.90615657, 0.1439362 } };</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span>        <span class="keyword">private</span> <span class="keyword">static</span> <span class="keywordtype">double</span>[,] CividisRGB = <span class="keyword">new</span> <span class="keywordtype">double</span>[256, 3] { { 0, 0.1262, 0.3015 }, { 0, 0.1292, 0.3077 }, { 0, 0.1321, 0.3142 }, { 0, 0.135, 0.3205 }, { 0, 0.1379, 0.3269 }, { 0, 0.1408, 0.3334 }, { 0, 0.1437, 0.34 }, { 0, 0.1465, 0.3467 }, { 0, 0.1492, 0.3537 }, { 0, 0.1519, 0.3606 }, { 0, 0.1546, 0.3676 }, { 0, 0.1574, 0.3746 }, { 0, 0.1601, 0.3817 }, { 0, 0.1629, 0.3888 }, { 0, 0.1657, 0.396 }, { 0, 0.1685, 0.4031 }, { 0, 0.1714, 0.4102 }, { 0, 0.1743, 0.4172 }, { 0, 0.1773, 0.4241 }, { 0, 0.1798, 0.4307 }, { 0, 0.1817, 0.4347 }, { 0, 0.1834, 0.4363 }, { 0, 0.1852, 0.4368 }, { 0, 0.1872, 0.4368 }, { 0, 0.1901, 0.4365 }, { 0, 0.193, 0.4361 }, { 0, 0.1958, 0.4356 }, { 0, 0.1987, 0.4349 }, { 0, 0.2015, 0.4343 }, { 0, 0.2044, 0.4336 }, { 0, 0.2073, 0.4329 }, { 0.0055, 0.2101, 0.4322 }, { 0.0236, 0.213, 0.4314 }, { 0.0416, 0.2158, 0.4308 }, { 0.0576, 0.2187, 0.4301 }, { 0.071, 0.2215, 0.4293 }, { 0.0827, 0.2244, 0.4287 }, { 0.0932, 0.2272, 0.428 }, { 0.103, 0.23, 0.4274 }, { 0.112, 0.2329, 0.4268 }, { 0.1204, 0.2357, 0.4262 }, { 0.1283, 0.2385, 0.4256 }, { 0.1359, 0.2414, 0.4251 }, { 0.1431, 0.2442, 0.4245 }, { 0.15, 0.247, 0.4241 }, { 0.1566, 0.2498, 0.4236 }, { 0.163, 0.2526, 0.4232 }, { 0.1692, 0.2555, 0.4228 }, { 0.1752, 0.2583, 0.4224 }, { 0.1811, 0.2611, 0.422 }, { 0.1868, 0.2639, 0.4217 }, { 0.1923, 0.2667, 0.4214 }, { 0.1977, 0.2695, 0.4212 }, { 0.203, 0.2723, 0.4209 }, { 0.2082, 0.2751, 0.4207 }, { 0.2133, 0.278, 0.4205 }, { 0.2183, 0.2808, 0.4204 }, { 0.2232, 0.2836, 0.4203 }, { 0.2281, 0.2864, 0.4202 }, { 0.2328, 0.2892, 0.4201 }, { 0.2375, 0.292, 0.42 }, { 0.2421, 0.2948, 0.42 }, { 0.2466, 0.2976, 0.42 }, { 0.2511, 0.3004, 0.4201 }, { 0.2556, 0.3032, 0.4201 }, { 0.2599, 0.306, 0.4202 }, { 0.2643, 0.3088, 0.4203 }, { 0.2686, 0.3116, 0.4205 }, { 0.2728, 0.3144, 0.4206 }, { 0.277, 0.3172, 0.4208 }, { 0.2811, 0.32, 0.421 }, { 0.2853, 0.3228, 0.4212 }, { 0.2894, 0.3256, 0.4215 }, { 0.2934, 0.3284, 0.4218 }, { 0.2974, 0.3312, 0.4221 }, { 0.3014, 0.334, 0.4224 }, { 0.3054, 0.3368, 0.4227 }, { 0.3093, 0.3396, 0.4231 }, { 0.3132, 0.3424, 0.4236 }, { 0.317, 0.3453, 0.424 }, { 0.3209, 0.3481, 0.4244 }, { 0.3247, 0.3509, 0.4249 }, { 0.3285, 0.3537, 0.4254 }, { 0.3323, 0.3565, 0.4259 }, { 0.3361, 0.3593, 0.4264 }, { 0.3398, 0.3622, 0.427 }, { 0.3435, 0.365, 0.4276 }, { 0.3472, 0.3678, 0.4282 }, { 0.3509, 0.3706, 0.4288 }, { 0.3546, 0.3734, 0.4294 }, { 0.3582, 0.3763, 0.4302 }, { 0.3619, 0.3791, 0.4308 }, { 0.3655, 0.3819, 0.4316 }, { 0.3691, 0.3848, 0.4322 }, { 0.3727, 0.3876, 0.4331 }, { 0.3763, 0.3904, 0.4338 }, { 0.3798, 0.3933, 0.4346 }, { 0.3834, 0.3961, 0.4355 }, { 0.3869, 0.399, 0.4364 }, { 0.3905, 0.4018, 0.4372 }, { 0.394, 0.4047, 0.4381 }, { 0.3975, 0.4075, 0.439 }, { 0.401, 0.4104, 0.44 }, { 0.4045, 0.4132, 0.4409 }, { 0.408, 0.4161, 0.4419 }, { 0.4114, 0.4189, 0.443 }, { 0.4149, 0.4218, 0.444 }, { 0.4183, 0.4247, 0.445 }, { 0.4218, 0.4275, 0.4462 }, { 0.4252, 0.4304, 0.4473 }, { 0.4286, 0.4333, 0.4485 }, { 0.432, 0.4362, 0.4496 }, { 0.4354, 0.439, 0.4508 }, { 0.4388, 0.4419, 0.4521 }, { 0.4422, 0.4448, 0.4534 }, { 0.4456, 0.4477, 0.4547 }, { 0.4489, 0.4506, 0.4561 }, { 0.4523, 0.4535, 0.4575 }, { 0.4556, 0.4564, 0.4589 }, { 0.4589, 0.4593, 0.4604 }, { 0.4622, 0.4622, 0.462 }, { 0.4656, 0.4651, 0.4635 }, { 0.4689, 0.468, 0.465 }, { 0.4722, 0.4709, 0.4665 }, { 0.4756, 0.4738, 0.4679 }, { 0.479, 0.4767, 0.4691 }, { 0.4825, 0.4797, 0.4701 }, { 0.4861, 0.4826, 0.4707 }, { 0.4897, 0.4856, 0.4714 }, { 0.4934, 0.4886, 0.4719 }, { 0.4971, 0.4915, 0.4723 }, { 0.5008, 0.4945, 0.4727 }, { 0.5045, 0.4975, 0.473 }, { 0.5083, 0.5005, 0.4732 }, { 0.5121, 0.5035, 0.4734 }, { 0.5158, 0.5065, 0.4736 }, { 0.5196, 0.5095, 0.4737 }, { 0.5234, 0.5125, 0.4738 }, { 0.5272, 0.5155, 0.4739 }, { 0.531, 0.5186, 0.4739 }, { 0.5349, 0.5216, 0.4738 }, { 0.5387, 0.5246, 0.4739 }, { 0.5425, 0.5277, 0.4738 }, { 0.5464, 0.5307, 0.4736 }, { 0.5502, 0.5338, 0.4735 }, { 0.5541, 0.5368, 0.4733 }, { 0.5579, 0.5399, 0.4732 }, { 0.5618, 0.543, 0.4729 }, { 0.5657, 0.5461, 0.4727 }, { 0.5696, 0.5491, 0.4723 }, { 0.5735, 0.5522, 0.472 }, { 0.5774, 0.5553, 0.4717 }, { 0.5813, 0.5584, 0.4714 }, { 0.5852, 0.5615, 0.4709 }, { 0.5892, 0.5646, 0.4705 }, { 0.5931, 0.5678, 0.4701 }, { 0.597, 0.5709, 0.4696 }, { 0.601, 0.574, 0.4691 }, { 0.605, 0.5772, 0.4685 }, { 0.6089, 0.5803, 0.468 }, { 0.6129, 0.5835, 0.4673 }, { 0.6168, 0.5866, 0.4668 }, { 0.6208, 0.5898, 0.4662 }, { 0.6248, 0.5929, 0.4655 }, { 0.6288, 0.5961, 0.4649 }, { 0.6328, 0.5993, 0.4641 }, { 0.6368, 0.6025, 0.4632 }, { 0.6408, 0.6057, 0.4625 }, { 0.6449, 0.6089, 0.4617 }, { 0.6489, 0.6121, 0.4609 }, { 0.6529, 0.6153, 0.46 }, { 0.657, 0.6185, 0.4591 }, { 0.661, 0.6217, 0.4583 }, { 0.6651, 0.625, 0.4573 }, { 0.6691, 0.6282, 0.4562 }, { 0.6732, 0.6315, 0.4553 }, { 0.6773, 0.6347, 0.4543 }, { 0.6813, 0.638, 0.4532 }, { 0.6854, 0.6412, 0.4521 }, { 0.6895, 0.6445, 0.4511 }, { 0.6936, 0.6478, 0.4499 }, { 0.6977, 0.6511, 0.4487 }, { 0.7018, 0.6544, 0.4475 }, { 0.706, 0.6577, 0.4463 }, { 0.7101, 0.661, 0.445 }, { 0.7142, 0.6643, 0.4437 }, { 0.7184, 0.6676, 0.4424 }, { 0.7225, 0.671, 0.4409 }, { 0.7267, 0.6743, 0.4396 }, { 0.7308, 0.6776, 0.4382 }, { 0.735, 0.681, 0.4368 }, { 0.7392, 0.6844, 0.4352 }, { 0.7434, 0.6877, 0.4338 }, { 0.7476, 0.6911, 0.4322 }, { 0.7518, 0.6945, 0.4307 }, { 0.756, 0.6979, 0.429 }, { 0.7602, 0.7013, 0.4273 }, { 0.7644, 0.7047, 0.4258 }, { 0.7686, 0.7081, 0.4241 }, { 0.7729, 0.7115, 0.4223 }, { 0.7771, 0.715, 0.4205 }, { 0.7814, 0.7184, 0.4188 }, { 0.7856, 0.7218, 0.4168 }, { 0.7899, 0.7253, 0.415 }, { 0.7942, 0.7288, 0.4129 }, { 0.7985, 0.7322, 0.4111 }, { 0.8027, 0.7357, 0.409 }, { 0.807, 0.7392, 0.407 }, { 0.8114, 0.7427, 0.4049 }, { 0.8157, 0.7462, 0.4028 }, { 0.82, 0.7497, 0.4007 }, { 0.8243, 0.7532, 0.3984 }, { 0.8287, 0.7568, 0.3961 }, { 0.833, 0.7603, 0.3938 }, { 0.8374, 0.7639, 0.3915 }, { 0.8417, 0.7674, 0.3892 }, { 0.8461, 0.771, 0.3869 }, { 0.8505, 0.7745, 0.3843 }, { 0.8548, 0.7781, 0.3818 }, { 0.8592, 0.7817, 0.3793 }, { 0.8636, 0.7853, 0.3766 }, { 0.8681, 0.7889, 0.3739 }, { 0.8725, 0.7926, 0.3712 }, { 0.8769, 0.7962, 0.3684 }, { 0.8813, 0.7998, 0.3657 }, { 0.8858, 0.8035, 0.3627 }, { 0.8902, 0.8071, 0.3599 }, { 0.8947, 0.8108, 0.3569 }, { 0.8992, 0.8145, 0.3538 }, { 0.9037, 0.8182, 0.3507 }, { 0.9082, 0.8219, 0.3474 }, { 0.9127, 0.8256, 0.3442 }, { 0.9172, 0.8293, 0.3409 }, { 0.9217, 0.833, 0.3374 }, { 0.9262, 0.8367, 0.334 }, { 0.9308, 0.8405, 0.3306 }, { 0.9353, 0.8442, 0.3268 }, { 0.9399, 0.848, 0.3232 }, { 0.9444, 0.8518, 0.3195 }, { 0.949, 0.8556, 0.3155 }, { 0.9536, 0.8593, 0.3116 }, { 0.9582, 0.8632, 0.3076 }, { 0.9628, 0.867, 0.3034 }, { 0.9674, 0.8708, 0.299 }, { 0.9721, 0.8746, 0.2947 }, { 0.9767, 0.8785, 0.2901 }, { 0.9814, 0.8823, 0.2856 }, { 0.986, 0.8862, 0.2807 }, { 0.9907, 0.8901, 0.2759 }, { 0.9954, 0.894, 0.2708 }, { 1, 0.8979, 0.2655 }, { 1, 0.9018, 0.26 }, { 1, 0.9057, 0.2593 }, { 1, 0.9094, 0.2634 }, { 1, 0.9131, 0.268 }, { 1, 0.9169, 0.2731 } };</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span>        <span class="keyword">private</span> <span class="keyword">static</span> <span class="keywordtype">double</span>[,] RocketRGB = <span class="keyword">new</span> <span class="keywordtype">double</span>[256, 3] { { 0.01060815, 0.01808215, 0.10018654 }, { 0.01428972, 0.02048237, 0.10374486 }, { 0.01831941, 0.0229766, 0.10738511 }, { 0.02275049, 0.02554464, 0.11108639 }, { 0.02759119, 0.02818316, 0.11483751 }, { 0.03285175, 0.03088792, 0.11863035 }, { 0.03853466, 0.03365771, 0.12245873 }, { 0.04447016, 0.03648425, 0.12631831 }, { 0.05032105, 0.03936808, 0.13020508 }, { 0.05611171, 0.04224835, 0.13411624 }, { 0.0618531, 0.04504866, 0.13804929 }, { 0.06755457, 0.04778179, 0.14200206 }, { 0.0732236, 0.05045047, 0.14597263 }, { 0.0788708, 0.05305461, 0.14995981 }, { 0.08450105, 0.05559631, 0.15396203 }, { 0.09011319, 0.05808059, 0.15797687 }, { 0.09572396, 0.06050127, 0.16200507 }, { 0.10132312, 0.06286782, 0.16604287 }, { 0.10692823, 0.06517224, 0.17009175 }, { 0.1125315, 0.06742194, 0.17414848 }, { 0.11813947, 0.06961499, 0.17821272 }, { 0.12375803, 0.07174938, 0.18228425 }, { 0.12938228, 0.07383015, 0.18636053 }, { 0.13501631, 0.07585609, 0.19044109 }, { 0.14066867, 0.0778224, 0.19452676 }, { 0.14633406, 0.07973393, 0.1986151 }, { 0.15201338, 0.08159108, 0.20270523 }, { 0.15770877, 0.08339312, 0.20679668 }, { 0.16342174, 0.0851396, 0.21088893 }, { 0.16915387, 0.08682996, 0.21498104 }, { 0.17489524, 0.08848235, 0.2190294 }, { 0.18065495, 0.09009031, 0.22303512 }, { 0.18643324, 0.09165431, 0.22699705 }, { 0.19223028, 0.09317479, 0.23091409 }, { 0.19804623, 0.09465217, 0.23478512 }, { 0.20388117, 0.09608689, 0.23860907 }, { 0.20973515, 0.09747934, 0.24238489 }, { 0.21560818, 0.09882993, 0.24611154 }, { 0.22150014, 0.10013944, 0.2497868 }, { 0.22741085, 0.10140876, 0.25340813 }, { 0.23334047, 0.10263737, 0.25697736 }, { 0.23928891, 0.10382562, 0.2604936 }, { 0.24525608, 0.10497384, 0.26395596 }, { 0.25124182, 0.10608236, 0.26736359 }, { 0.25724602, 0.10715148, 0.27071569 }, { 0.26326851, 0.1081815, 0.27401148 }, { 0.26930915, 0.1091727, 0.2772502 }, { 0.27536766, 0.11012568, 0.28043021 }, { 0.28144375, 0.11104133, 0.2835489 }, { 0.2875374, 0.11191896, 0.28660853 }, { 0.29364846, 0.11275876, 0.2896085 }, { 0.29977678, 0.11356089, 0.29254823 }, { 0.30592213, 0.11432553, 0.29542718 }, { 0.31208435, 0.11505284, 0.29824485 }, { 0.31826327, 0.1157429, 0.30100076 }, { 0.32445869, 0.11639585, 0.30369448 }, { 0.33067031, 0.11701189, 0.30632563 }, { 0.33689808, 0.11759095, 0.3088938 }, { 0.34314168, 0.11813362, 0.31139721 }, { 0.34940101, 0.11863987, 0.3138355 }, { 0.355676, 0.11910909, 0.31620996 }, { 0.36196644, 0.1195413, 0.31852037 }, { 0.36827206, 0.11993653, 0.32076656 }, { 0.37459292, 0.12029443, 0.32294825 }, { 0.38092887, 0.12061482, 0.32506528 }, { 0.38727975, 0.12089756, 0.3271175 }, { 0.39364518, 0.12114272, 0.32910494 }, { 0.40002537, 0.12134964, 0.33102734 }, { 0.40642019, 0.12151801, 0.33288464 }, { 0.41282936, 0.12164769, 0.33467689 }, { 0.41925278, 0.12173833, 0.33640407 }, { 0.42569057, 0.12178916, 0.33806605 }, { 0.43214263, 0.12179973, 0.33966284 }, { 0.43860848, 0.12177004, 0.34119475 }, { 0.44508855, 0.12169883, 0.34266151 }, { 0.45158266, 0.12158557, 0.34406324 }, { 0.45809049, 0.12142996, 0.34540024 }, { 0.46461238, 0.12123063, 0.34667231 }, { 0.47114798, 0.12098721, 0.34787978 }, { 0.47769736, 0.12069864, 0.34902273 }, { 0.48426077, 0.12036349, 0.35010104 }, { 0.49083761, 0.11998161, 0.35111537 }, { 0.49742847, 0.11955087, 0.35206533 }, { 0.50403286, 0.11907081, 0.35295152 }, { 0.51065109, 0.11853959, 0.35377385 }, { 0.51728314, 0.1179558, 0.35453252 }, { 0.52392883, 0.11731817, 0.35522789 }, { 0.53058853, 0.11662445, 0.35585982 }, { 0.53726173, 0.11587369, 0.35642903 }, { 0.54394898, 0.11506307, 0.35693521 }, { 0.5506426, 0.11420757, 0.35737863 }, { 0.55734473, 0.11330456, 0.35775059 }, { 0.56405586, 0.11235265, 0.35804813 }, { 0.57077365, 0.11135597, 0.35827146 }, { 0.5774991, 0.11031233, 0.35841679 }, { 0.58422945, 0.10922707, 0.35848469 }, { 0.59096382, 0.10810205, 0.35847347 }, { 0.59770215, 0.10693774, 0.35838029 }, { 0.60444226, 0.10573912, 0.35820487 }, { 0.61118304, 0.10450943, 0.35794557 }, { 0.61792306, 0.10325288, 0.35760108 }, { 0.62466162, 0.10197244, 0.35716891 }, { 0.63139686, 0.10067417, 0.35664819 }, { 0.63812122, 0.09938212, 0.35603757 }, { 0.64483795, 0.0980891, 0.35533555 }, { 0.65154562, 0.09680192, 0.35454107 }, { 0.65824241, 0.09552918, 0.3536529 }, { 0.66492652, 0.09428017, 0.3526697 }, { 0.67159578, 0.09306598, 0.35159077 }, { 0.67824099, 0.09192342, 0.3504148 }, { 0.684863, 0.09085633, 0.34914061 }, { 0.69146268, 0.0898675, 0.34776864 }, { 0.69803757, 0.08897226, 0.3462986 }, { 0.70457834, 0.0882129, 0.34473046 }, { 0.71108138, 0.08761223, 0.3430635 }, { 0.7175507, 0.08716212, 0.34129974 }, { 0.72398193, 0.08688725, 0.33943958 }, { 0.73035829, 0.0868623, 0.33748452 }, { 0.73669146, 0.08704683, 0.33543669 }, { 0.74297501, 0.08747196, 0.33329799 }, { 0.74919318, 0.08820542, 0.33107204 }, { 0.75535825, 0.08919792, 0.32876184 }, { 0.76145589, 0.09050716, 0.32637117 }, { 0.76748424, 0.09213602, 0.32390525 }, { 0.77344838, 0.09405684, 0.32136808 }, { 0.77932641, 0.09634794, 0.31876642 }, { 0.78513609, 0.09892473, 0.31610488 }, { 0.79085854, 0.10184672, 0.313391 }, { 0.7965014, 0.10506637, 0.31063031 }, { 0.80205987, 0.10858333, 0.30783 }, { 0.80752799, 0.11239964, 0.30499738 }, { 0.81291606, 0.11645784, 0.30213802 }, { 0.81820481, 0.12080606, 0.29926105 }, { 0.82341472, 0.12535343, 0.2963705 }, { 0.82852822, 0.13014118, 0.29347474 }, { 0.83355779, 0.13511035, 0.29057852 }, { 0.83850183, 0.14025098, 0.2876878 }, { 0.84335441, 0.14556683, 0.28480819 }, { 0.84813096, 0.15099892, 0.281943 }, { 0.85281737, 0.15657772, 0.27909826 }, { 0.85742602, 0.1622583, 0.27627462 }, { 0.86196552, 0.16801239, 0.27346473 }, { 0.86641628, 0.17387796, 0.27070818 }, { 0.87079129, 0.17982114, 0.26797378 }, { 0.87507281, 0.18587368, 0.26529697 }, { 0.87925878, 0.19203259, 0.26268136 }, { 0.8833417, 0.19830556, 0.26014181 }, { 0.88731387, 0.20469941, 0.25769539 }, { 0.89116859, 0.21121788, 0.2553592 }, { 0.89490337, 0.21785614, 0.25314362 }, { 0.8985026, 0.22463251, 0.25108745 }, { 0.90197527, 0.23152063, 0.24918223 }, { 0.90530097, 0.23854541, 0.24748098 }, { 0.90848638, 0.24568473, 0.24598324 }, { 0.911533, 0.25292623, 0.24470258 }, { 0.9144225, 0.26028902, 0.24369359 }, { 0.91717106, 0.26773821, 0.24294137 }, { 0.91978131, 0.27526191, 0.24245973 }, { 0.92223947, 0.28287251, 0.24229568 }, { 0.92456587, 0.29053388, 0.24242622 }, { 0.92676657, 0.29823282, 0.24285536 }, { 0.92882964, 0.30598085, 0.24362274 }, { 0.93078135, 0.31373977, 0.24468803 }, { 0.93262051, 0.3215093, 0.24606461 }, { 0.93435067, 0.32928362, 0.24775328 }, { 0.93599076, 0.33703942, 0.24972157 }, { 0.93752831, 0.34479177, 0.25199928 }, { 0.93899289, 0.35250734, 0.25452808 }, { 0.94036561, 0.36020899, 0.25734661 }, { 0.94167588, 0.36786594, 0.2603949 }, { 0.94291042, 0.37549479, 0.26369821 }, { 0.94408513, 0.3830811, 0.26722004 }, { 0.94520419, 0.39062329, 0.27094924 }, { 0.94625977, 0.39813168, 0.27489742 }, { 0.94727016, 0.4055909, 0.27902322 }, { 0.94823505, 0.41300424, 0.28332283 }, { 0.94914549, 0.42038251, 0.28780969 }, { 0.95001704, 0.42771398, 0.29244728 }, { 0.95085121, 0.43500005, 0.29722817 }, { 0.95165009, 0.44224144, 0.30214494 }, { 0.9524044, 0.44944853, 0.3072105 }, { 0.95312556, 0.45661389, 0.31239776 }, { 0.95381595, 0.46373781, 0.31769923 }, { 0.95447591, 0.47082238, 0.32310953 }, { 0.95510255, 0.47787236, 0.32862553 }, { 0.95569679, 0.48489115, 0.33421404 }, { 0.95626788, 0.49187351, 0.33985601 }, { 0.95681685, 0.49882008, 0.34555431 }, { 0.9573439, 0.50573243, 0.35130912 }, { 0.95784842, 0.51261283, 0.35711942 }, { 0.95833051, 0.51946267, 0.36298589 }, { 0.95879054, 0.52628305, 0.36890904 }, { 0.95922872, 0.53307513, 0.3748895 }, { 0.95964538, 0.53983991, 0.38092784 }, { 0.96004345, 0.54657593, 0.3870292 }, { 0.96042097, 0.55328624, 0.39319057 }, { 0.96077819, 0.55997184, 0.39941173 }, { 0.9611152, 0.5666337, 0.40569343 }, { 0.96143273, 0.57327231, 0.41203603 }, { 0.96173392, 0.57988594, 0.41844491 }, { 0.96201757, 0.58647675, 0.42491751 }, { 0.96228344, 0.59304598, 0.43145271 }, { 0.96253168, 0.5995944, 0.43805131 }, { 0.96276513, 0.60612062, 0.44471698 }, { 0.96298491, 0.6126247, 0.45145074 }, { 0.96318967, 0.61910879, 0.45824902 }, { 0.96337949, 0.6255736, 0.46511271 }, { 0.96355923, 0.63201624, 0.47204746 }, { 0.96372785, 0.63843852, 0.47905028 }, { 0.96388426, 0.64484214, 0.4861196 }, { 0.96403203, 0.65122535, 0.4932578 }, { 0.96417332, 0.65758729, 0.50046894 }, { 0.9643063, 0.66393045, 0.5077467 }, { 0.96443322, 0.67025402, 0.51509334 }, { 0.96455845, 0.67655564, 0.52251447 }, { 0.96467922, 0.68283846, 0.53000231 }, { 0.96479861, 0.68910113, 0.53756026 }, { 0.96492035, 0.69534192, 0.5451917 }, { 0.96504223, 0.7015636, 0.5528892 }, { 0.96516917, 0.70776351, 0.5606593 }, { 0.96530224, 0.71394212, 0.56849894 }, { 0.96544032, 0.72010124, 0.57640375 }, { 0.96559206, 0.72623592, 0.58438387 }, { 0.96575293, 0.73235058, 0.59242739 }, { 0.96592829, 0.73844258, 0.60053991 }, { 0.96612013, 0.74451182, 0.60871954 }, { 0.96632832, 0.75055966, 0.61696136 }, { 0.96656022, 0.75658231, 0.62527295 }, { 0.96681185, 0.76258381, 0.63364277 }, { 0.96709183, 0.76855969, 0.64207921 }, { 0.96739773, 0.77451297, 0.65057302 }, { 0.96773482, 0.78044149, 0.65912731 }, { 0.96810471, 0.78634563, 0.66773889 }, { 0.96850919, 0.79222565, 0.6764046 }, { 0.96893132, 0.79809112, 0.68512266 }, { 0.96935926, 0.80395415, 0.69383201 }, { 0.9698028, 0.80981139, 0.70252255 }, { 0.97025511, 0.81566605, 0.71120296 }, { 0.97071849, 0.82151775, 0.71987163 }, { 0.97120159, 0.82736371, 0.72851999 }, { 0.97169389, 0.83320847, 0.73716071 }, { 0.97220061, 0.83905052, 0.74578903 }, { 0.97272597, 0.84488881, 0.75440141 }, { 0.97327085, 0.85072354, 0.76299805 }, { 0.97383206, 0.85655639, 0.77158353 }, { 0.97441222, 0.86238689, 0.78015619 }, { 0.97501782, 0.86821321, 0.78871034 }, { 0.97564391, 0.87403763, 0.79725261 }, { 0.97628674, 0.87986189, 0.8057883 }, { 0.97696114, 0.88568129, 0.81430324 }, { 0.97765722, 0.89149971, 0.82280948 }, { 0.97837585, 0.89731727, 0.83130786 }, { 0.97912374, 0.90313207, 0.83979337 }, { 0.979891, 0.90894778, 0.84827858 }, { 0.98067764, 0.91476465, 0.85676611 }, { 0.98137749, 0.92061729, 0.86536915 } };</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span>        <span class="keyword">private</span> <span class="keyword">static</span> <span class="keywordtype">double</span>[,] MakoRGB = <span class="keyword">new</span> <span class="keywordtype">double</span>[256, 3] { { 0.04503935, 0.01482344, 0.02092227 }, { 0.04933018, 0.01709292, 0.02535719 }, { 0.05356262, 0.01950702, 0.03018802 }, { 0.05774337, 0.02205989, 0.03545515 }, { 0.06188095, 0.02474764, 0.04115287 }, { 0.06598247, 0.0275665, 0.04691409 }, { 0.07005374, 0.03051278, 0.05264306 }, { 0.07409947, 0.03358324, 0.05834631 }, { 0.07812339, 0.03677446, 0.06403249 }, { 0.08212852, 0.0400833, 0.06970862 }, { 0.08611731, 0.04339148, 0.07538208 }, { 0.09009161, 0.04664706, 0.08105568 }, { 0.09405308, 0.04985685, 0.08673591 }, { 0.09800301, 0.05302279, 0.09242646 }, { 0.10194255, 0.05614641, 0.09813162 }, { 0.10587261, 0.05922941, 0.103854 }, { 0.1097942, 0.06227277, 0.10959847 }, { 0.11370826, 0.06527747, 0.11536893 }, { 0.11761516, 0.06824548, 0.12116393 }, { 0.12151575, 0.07117741, 0.12698763 }, { 0.12541095, 0.07407363, 0.1328442 }, { 0.12930083, 0.07693611, 0.13873064 }, { 0.13317849, 0.07976988, 0.14465095 }, { 0.13701138, 0.08259683, 0.15060265 }, { 0.14079223, 0.08542126, 0.15659379 }, { 0.14452486, 0.08824175, 0.16262484 }, { 0.14820351, 0.09106304, 0.16869476 }, { 0.15183185, 0.09388372, 0.17480366 }, { 0.15540398, 0.09670855, 0.18094993 }, { 0.15892417, 0.09953561, 0.18713384 }, { 0.16238588, 0.10236998, 0.19335329 }, { 0.16579435, 0.10520905, 0.19960847 }, { 0.16914226, 0.10805832, 0.20589698 }, { 0.17243586, 0.11091443, 0.21221911 }, { 0.17566717, 0.11378321, 0.21857219 }, { 0.17884322, 0.11666074, 0.2249565 }, { 0.18195582, 0.11955283, 0.23136943 }, { 0.18501213, 0.12245547, 0.23781116 }, { 0.18800459, 0.12537395, 0.24427914 }, { 0.19093944, 0.1283047, 0.25077369 }, { 0.19381092, 0.13125179, 0.25729255 }, { 0.19662307, 0.13421303, 0.26383543 }, { 0.19937337, 0.13719028, 0.27040111 }, { 0.20206187, 0.14018372, 0.27698891 }, { 0.20469116, 0.14319196, 0.28359861 }, { 0.20725547, 0.14621882, 0.29022775 }, { 0.20976258, 0.14925954, 0.29687795 }, { 0.21220409, 0.15231929, 0.30354703 }, { 0.21458611, 0.15539445, 0.31023563 }, { 0.21690827, 0.15848519, 0.31694355 }, { 0.21916481, 0.16159489, 0.32366939 }, { 0.2213631, 0.16471913, 0.33041431 }, { 0.22349947, 0.1678599, 0.33717781 }, { 0.2255714, 0.1710185, 0.34395925 }, { 0.22758415, 0.17419169, 0.35075983 }, { 0.22953569, 0.17738041, 0.35757941 }, { 0.23142077, 0.18058733, 0.3644173 }, { 0.2332454, 0.18380872, 0.37127514 }, { 0.2350092, 0.18704459, 0.3781528 }, { 0.23670785, 0.190297, 0.38504973 }, { 0.23834119, 0.19356547, 0.39196711 }, { 0.23991189, 0.19684817, 0.39890581 }, { 0.24141903, 0.20014508, 0.4058667 }, { 0.24286214, 0.20345642, 0.4128484 }, { 0.24423453, 0.20678459, 0.41985299 }, { 0.24554109, 0.21012669, 0.42688124 }, { 0.2467815, 0.21348266, 0.43393244 }, { 0.24795393, 0.21685249, 0.4410088 }, { 0.24905614, 0.22023618, 0.448113 }, { 0.25007383, 0.22365053, 0.45519562 }, { 0.25098926, 0.22710664, 0.46223892 }, { 0.25179696, 0.23060342, 0.46925447 }, { 0.25249346, 0.23414353, 0.47623196 }, { 0.25307401, 0.23772973, 0.48316271 }, { 0.25353152, 0.24136961, 0.49001976 }, { 0.25386167, 0.24506548, 0.49679407 }, { 0.25406082, 0.2488164, 0.50348932 }, { 0.25412435, 0.25262843, 0.51007843 }, { 0.25404842, 0.25650743, 0.51653282 }, { 0.25383134, 0.26044852, 0.52286845 }, { 0.2534705, 0.26446165, 0.52903422 }, { 0.25296722, 0.2685428, 0.53503572 }, { 0.2523226, 0.27269346, 0.54085315 }, { 0.25153974, 0.27691629, 0.54645752 }, { 0.25062402, 0.28120467, 0.55185939 }, { 0.24958205, 0.28556371, 0.55701246 }, { 0.24842386, 0.28998148, 0.56194601 }, { 0.24715928, 0.29446327, 0.56660884 }, { 0.24580099, 0.29899398, 0.57104399 }, { 0.24436202, 0.30357852, 0.57519929 }, { 0.24285591, 0.30819938, 0.57913247 }, { 0.24129828, 0.31286235, 0.58278615 }, { 0.23970131, 0.3175495, 0.5862272 }, { 0.23807973, 0.32226344, 0.58941872 }, { 0.23644557, 0.32699241, 0.59240198 }, { 0.2348113, 0.33173196, 0.59518282 }, { 0.23318874, 0.33648036, 0.59775543 }, { 0.2315855, 0.34122763, 0.60016456 }, { 0.23001121, 0.34597357, 0.60240251 }, { 0.2284748, 0.35071512, 0.6044784 }, { 0.22698081, 0.35544612, 0.60642528 }, { 0.22553305, 0.36016515, 0.60825252 }, { 0.22413977, 0.36487341, 0.60994938 }, { 0.22280246, 0.36956728, 0.61154118 }, { 0.22152555, 0.37424409, 0.61304472 }, { 0.22030752, 0.37890437, 0.61446646 }, { 0.2191538, 0.38354668, 0.61581561 }, { 0.21806257, 0.38817169, 0.61709794 }, { 0.21703799, 0.39277882, 0.61831922 }, { 0.21607792, 0.39736958, 0.61948028 }, { 0.21518463, 0.40194196, 0.62059763 }, { 0.21435467, 0.40649717, 0.62167507 }, { 0.21358663, 0.41103579, 0.62271724 }, { 0.21288172, 0.41555771, 0.62373011 }, { 0.21223835, 0.42006355, 0.62471794 }, { 0.21165312, 0.42455441, 0.62568371 }, { 0.21112526, 0.42903064, 0.6266318 }, { 0.21065161, 0.43349321, 0.62756504 }, { 0.21023306, 0.43794288, 0.62848279 }, { 0.20985996, 0.44238227, 0.62938329 }, { 0.20951045, 0.44680966, 0.63030696 }, { 0.20916709, 0.45122981, 0.63124483 }, { 0.20882976, 0.45564335, 0.63219599 }, { 0.20849798, 0.46005094, 0.63315928 }, { 0.20817199, 0.46445309, 0.63413391 }, { 0.20785149, 0.46885041, 0.63511876 }, { 0.20753716, 0.47324327, 0.63611321 }, { 0.20722876, 0.47763224, 0.63711608 }, { 0.20692679, 0.48201774, 0.63812656 }, { 0.20663156, 0.48640018, 0.63914367 }, { 0.20634336, 0.49078002, 0.64016638 }, { 0.20606303, 0.49515755, 0.6411939 }, { 0.20578999, 0.49953341, 0.64222457 }, { 0.20552612, 0.50390766, 0.64325811 }, { 0.20527189, 0.50828072, 0.64429331 }, { 0.20502868, 0.51265277, 0.64532947 }, { 0.20479718, 0.51702417, 0.64636539 }, { 0.20457804, 0.52139527, 0.64739979 }, { 0.20437304, 0.52576622, 0.64843198 }, { 0.20418396, 0.53013715, 0.64946117 }, { 0.20401238, 0.53450825, 0.65048638 }, { 0.20385896, 0.53887991, 0.65150606 }, { 0.20372653, 0.54325208, 0.65251978 }, { 0.20361709, 0.5476249, 0.6535266 }, { 0.20353258, 0.55199854, 0.65452542 }, { 0.20347472, 0.55637318, 0.655515 }, { 0.20344718, 0.56074869, 0.65649508 }, { 0.20345161, 0.56512531, 0.65746419 }, { 0.20349089, 0.56950304, 0.65842151 }, { 0.20356842, 0.57388184, 0.65936642 }, { 0.20368663, 0.57826181, 0.66029768 }, { 0.20384884, 0.58264293, 0.6612145 }, { 0.20405904, 0.58702506, 0.66211645 }, { 0.20431921, 0.59140842, 0.66300179 }, { 0.20463464, 0.59579264, 0.66387079 }, { 0.20500731, 0.60017798, 0.66472159 }, { 0.20544449, 0.60456387, 0.66555409 }, { 0.20596097, 0.60894927, 0.66636568 }, { 0.20654832, 0.61333521, 0.66715744 }, { 0.20721003, 0.61772167, 0.66792838 }, { 0.20795035, 0.62210845, 0.66867802 }, { 0.20877302, 0.62649546, 0.66940555 }, { 0.20968223, 0.63088252, 0.6701105 }, { 0.21068163, 0.63526951, 0.67079211 }, { 0.21177544, 0.63965621, 0.67145005 }, { 0.21298582, 0.64404072, 0.67208182 }, { 0.21430361, 0.64842404, 0.67268861 }, { 0.21572716, 0.65280655, 0.67326978 }, { 0.21726052, 0.65718791, 0.6738255 }, { 0.21890636, 0.66156803, 0.67435491 }, { 0.220668, 0.66594665, 0.67485792 }, { 0.22255447, 0.67032297, 0.67533374 }, { 0.22458372, 0.67469531, 0.67578061 }, { 0.22673713, 0.67906542, 0.67620044 }, { 0.22901625, 0.6834332, 0.67659251 }, { 0.23142316, 0.68779836, 0.67695703 }, { 0.23395924, 0.69216072, 0.67729378 }, { 0.23663857, 0.69651881, 0.67760151 }, { 0.23946645, 0.70087194, 0.67788018 }, { 0.24242624, 0.70522162, 0.67813088 }, { 0.24549008, 0.70957083, 0.67835215 }, { 0.24863372, 0.71392166, 0.67854868 }, { 0.25187832, 0.71827158, 0.67872193 }, { 0.25524083, 0.72261873, 0.67887024 }, { 0.25870947, 0.72696469, 0.67898912 }, { 0.26229238, 0.73130855, 0.67907645 }, { 0.26604085, 0.73564353, 0.67914062 }, { 0.26993099, 0.73997282, 0.67917264 }, { 0.27397488, 0.74429484, 0.67917096 }, { 0.27822463, 0.74860229, 0.67914468 }, { 0.28264201, 0.75290034, 0.67907959 }, { 0.2873016, 0.75717817, 0.67899164 }, { 0.29215894, 0.76144162, 0.67886578 }, { 0.29729823, 0.76567816, 0.67871894 }, { 0.30268199, 0.76989232, 0.67853896 }, { 0.30835665, 0.77407636, 0.67833512 }, { 0.31435139, 0.77822478, 0.67811118 }, { 0.3206671, 0.78233575, 0.67786729 }, { 0.32733158, 0.78640315, 0.67761027 }, { 0.33437168, 0.79042043, 0.67734882 }, { 0.34182112, 0.79437948, 0.67709394 }, { 0.34968889, 0.79827511, 0.67685638 }, { 0.35799244, 0.80210037, 0.67664969 }, { 0.36675371, 0.80584651, 0.67649539 }, { 0.3759816, 0.80950627, 0.67641393 }, { 0.38566792, 0.81307432, 0.67642947 }, { 0.39579804, 0.81654592, 0.67656899 }, { 0.40634556, 0.81991799, 0.67686215 }, { 0.41730243, 0.82318339, 0.67735255 }, { 0.4285828, 0.82635051, 0.6780564 }, { 0.44012728, 0.82942353, 0.67900049 }, { 0.45189421, 0.83240398, 0.68021733 }, { 0.46378379, 0.83530763, 0.6817062 }, { 0.47573199, 0.83814472, 0.68347352 }, { 0.48769865, 0.84092197, 0.68552698 }, { 0.49962354, 0.84365379, 0.68783929 }, { 0.5114027, 0.8463718, 0.69029789 }, { 0.52301693, 0.84908401, 0.69288545 }, { 0.53447549, 0.85179048, 0.69561066 }, { 0.54578602, 0.8544913, 0.69848331 }, { 0.55695565, 0.85718723, 0.70150427 }, { 0.56798832, 0.85987893, 0.70468261 }, { 0.57888639, 0.86256715, 0.70802931 }, { 0.5896541, 0.8652532, 0.71154204 }, { 0.60028928, 0.86793835, 0.71523675 }, { 0.61079441, 0.87062438, 0.71910895 }, { 0.62116633, 0.87331311, 0.72317003 }, { 0.63140509, 0.87600675, 0.72741689 }, { 0.64150735, 0.87870746, 0.73185717 }, { 0.65147219, 0.8814179, 0.73648495 }, { 0.66129632, 0.8841403, 0.74130658 }, { 0.67097934, 0.88687758, 0.74631123 }, { 0.68051833, 0.88963189, 0.75150483 }, { 0.68991419, 0.89240612, 0.75687187 }, { 0.69916533, 0.89520211, 0.76241714 }, { 0.70827373, 0.89802257, 0.76812286 }, { 0.71723995, 0.90086891, 0.77399039 }, { 0.72606665, 0.90374337, 0.7800041 }, { 0.73475675, 0.90664718, 0.78615802 }, { 0.74331358, 0.90958151, 0.79244474 }, { 0.75174143, 0.91254787, 0.79884925 }, { 0.76004473, 0.91554656, 0.80536823 }, { 0.76827704, 0.91856549, 0.81196513 }, { 0.77647029, 0.921603, 0.81855729 }, { 0.78462009, 0.92466151, 0.82514119 }, { 0.79273542, 0.92773848, 0.83172131 }, { 0.8008109, 0.93083672, 0.83829355 }, { 0.80885107, 0.93395528, 0.84485982 }, { 0.81685878, 0.9370938, 0.85142101 }, { 0.82483206, 0.94025378, 0.8579751 }, { 0.83277661, 0.94343371, 0.86452477 }, { 0.84069127, 0.94663473, 0.87106853 }, { 0.84857662, 0.9498573, 0.8776059 }, { 0.8564431, 0.95309792, 0.88414253 }, { 0.86429066, 0.95635719, 0.89067759 }, { 0.87218969, 0.95960708, 0.89725384 } };</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span>        <span class="keyword">private</span> <span class="keyword">static</span> <span class="keywordtype">double</span>[,] TurboRGB = <span class="keyword">new</span> <span class="keywordtype">double</span>[256, 3] { { 0.18995, 0.07176, 0.23217 }, { 0.19483, 0.08339, 0.26149 }, { 0.19956, 0.09498, 0.29024 }, { 0.20415, 0.10652, 0.31844 }, { 0.2086, 0.11802, 0.34607 }, { 0.21291, 0.12947, 0.37314 }, { 0.21708, 0.14087, 0.39964 }, { 0.22111, 0.15223, 0.42558 }, { 0.225, 0.16354, 0.45096 }, { 0.22875, 0.17481, 0.47578 }, { 0.23236, 0.18603, 0.50004 }, { 0.23582, 0.1972, 0.52373 }, { 0.23915, 0.20833, 0.54686 }, { 0.24234, 0.21941, 0.56942 }, { 0.24539, 0.23044, 0.59142 }, { 0.2483, 0.24143, 0.61286 }, { 0.25107, 0.25237, 0.63374 }, { 0.25369, 0.26327, 0.65406 }, { 0.25618, 0.27412, 0.67381 }, { 0.25853, 0.28492, 0.693 }, { 0.26074, 0.29568, 0.71162 }, { 0.2628, 0.30639, 0.72968 }, { 0.26473, 0.31706, 0.74718 }, { 0.26652, 0.32768, 0.76412 }, { 0.26816, 0.33825, 0.7805 }, { 0.26967, 0.34878, 0.79631 }, { 0.27103, 0.35926, 0.81156 }, { 0.27226, 0.3697, 0.82624 }, { 0.27334, 0.38008, 0.84037 }, { 0.27429, 0.39043, 0.85393 }, { 0.27509, 0.40072, 0.86692 }, { 0.27576, 0.41097, 0.87936 }, { 0.27628, 0.42118, 0.89123 }, { 0.27667, 0.43134, 0.90254 }, { 0.27691, 0.44145, 0.91328 }, { 0.27701, 0.45152, 0.92347 }, { 0.27698, 0.46153, 0.93309 }, { 0.2768, 0.47151, 0.94214 }, { 0.27648, 0.48144, 0.95064 }, { 0.27603, 0.49132, 0.95857 }, { 0.27543, 0.50115, 0.96594 }, { 0.27469, 0.51094, 0.97275 }, { 0.27381, 0.52069, 0.97899 }, { 0.27273, 0.5304, 0.98461 }, { 0.27106, 0.54015, 0.9893 }, { 0.26878, 0.54995, 0.99303 }, { 0.26592, 0.55979, 0.99583 }, { 0.26252, 0.56967, 0.99773 }, { 0.25862, 0.57958, 0.99876 }, { 0.25425, 0.5895, 0.99896 }, { 0.24946, 0.59943, 0.99835 }, { 0.24427, 0.60937, 0.99697 }, { 0.23874, 0.61931, 0.99485 }, { 0.23288, 0.62923, 0.99202 }, { 0.22676, 0.63913, 0.98851 }, { 0.22039, 0.64901, 0.98436 }, { 0.21382, 0.65886, 0.97959 }, { 0.20708, 0.66866, 0.97423 }, { 0.20021, 0.67842, 0.96833 }, { 0.19326, 0.68812, 0.9619 }, { 0.18625, 0.69775, 0.95498 }, { 0.17923, 0.70732, 0.94761 }, { 0.17223, 0.7168, 0.93981 }, { 0.16529, 0.7262, 0.93161 }, { 0.15844, 0.73551, 0.92305 }, { 0.15173, 0.74472, 0.91416 }, { 0.14519, 0.75381, 0.90496 }, { 0.13886, 0.76279, 0.8955 }, { 0.13278, 0.77165, 0.8858 }, { 0.12698, 0.78037, 0.8759 }, { 0.12151, 0.78896, 0.86581 }, { 0.11639, 0.7974, 0.85559 }, { 0.11167, 0.80569, 0.84525 }, { 0.10738, 0.81381, 0.83484 }, { 0.10357, 0.82177, 0.82437 }, { 0.10026, 0.82955, 0.81389 }, { 0.0975, 0.83714, 0.80342 }, { 0.09532, 0.84455, 0.79299 }, { 0.09377, 0.85175, 0.78264 }, { 0.09287, 0.85875, 0.7724 }, { 0.09267, 0.86554, 0.7623 }, { 0.0932, 0.87211, 0.75237 }, { 0.09451, 0.87844, 0.74265 }, { 0.09662, 0.88454, 0.73316 }, { 0.09958, 0.8904, 0.72393 }, { 0.10342, 0.896, 0.715 }, { 0.10815, 0.90142, 0.70599 }, { 0.11374, 0.90673, 0.69651 }, { 0.12014, 0.91193, 0.6866 }, { 0.12733, 0.91701, 0.67627 }, { 0.13526, 0.92197, 0.66556 }, { 0.14391, 0.9268, 0.65448 }, { 0.15323, 0.93151, 0.64308 }, { 0.16319, 0.93609, 0.63137 }, { 0.17377, 0.94053, 0.61938 }, { 0.18491, 0.94484, 0.60713 }, { 0.19659, 0.94901, 0.59466 }, { 0.20877, 0.95304, 0.58199 }, { 0.22142, 0.95692, 0.56914 }, { 0.23449, 0.96065, 0.55614 }, { 0.24797, 0.96423, 0.54303 }, { 0.2618, 0.96765, 0.52981 }, { 0.27597, 0.97092, 0.51653 }, { 0.29042, 0.97403, 0.50321 }, { 0.30513, 0.97697, 0.48987 }, { 0.32006, 0.97974, 0.47654 }, { 0.33517, 0.98234, 0.46325 }, { 0.35043, 0.98477, 0.45002 }, { 0.36581, 0.98702, 0.43688 }, { 0.38127, 0.98909, 0.42386 }, { 0.39678, 0.99098, 0.41098 }, { 0.41229, 0.99268, 0.39826 }, { 0.42778, 0.99419, 0.38575 }, { 0.44321, 0.99551, 0.37345 }, { 0.45854, 0.99663, 0.3614 }, { 0.47375, 0.99755, 0.34963 }, { 0.48879, 0.99828, 0.33816 }, { 0.50362, 0.99879, 0.32701 }, { 0.51822, 0.9991, 0.31622 }, { 0.53255, 0.99919, 0.30581 }, { 0.54658, 0.99907, 0.29581 }, { 0.56026, 0.99873, 0.28623 }, { 0.57357, 0.99817, 0.27712 }, { 0.58646, 0.99739, 0.26849 }, { 0.59891, 0.99638, 0.26038 }, { 0.61088, 0.99514, 0.2528 }, { 0.62233, 0.99366, 0.24579 }, { 0.63323, 0.99195, 0.23937 }, { 0.64362, 0.98999, 0.23356 }, { 0.65394, 0.98775, 0.22835 }, { 0.66428, 0.98524, 0.2237 }, { 0.67462, 0.98246, 0.2196 }, { 0.68494, 0.97941, 0.21602 }, { 0.69525, 0.9761, 0.21294 }, { 0.70553, 0.97255, 0.21032 }, { 0.71577, 0.96875, 0.20815 }, { 0.72596, 0.9647, 0.2064 }, { 0.7361, 0.96043, 0.20504 }, { 0.74617, 0.95593, 0.20406 }, { 0.75617, 0.95121, 0.20343 }, { 0.76608, 0.94627, 0.20311 }, { 0.77591, 0.94113, 0.2031 }, { 0.78563, 0.93579, 0.20336 }, { 0.79524, 0.93025, 0.20386 }, { 0.80473, 0.92452, 0.20459 }, { 0.8141, 0.91861, 0.20552 }, { 0.82333, 0.91253, 0.20663 }, { 0.83241, 0.90627, 0.20788 }, { 0.84133, 0.89986, 0.20926 }, { 0.8501, 0.89328, 0.21074 }, { 0.85868, 0.88655, 0.2123 }, { 0.86709, 0.87968, 0.21391 }, { 0.8753, 0.87267, 0.21555 }, { 0.88331, 0.86553, 0.21719 }, { 0.89112, 0.85826, 0.2188 }, { 0.8987, 0.85087, 0.22038 }, { 0.90605, 0.84337, 0.22188 }, { 0.91317, 0.83576, 0.22328 }, { 0.92004, 0.82806, 0.22456 }, { 0.92666, 0.82025, 0.2257 }, { 0.93301, 0.81236, 0.22667 }, { 0.93909, 0.80439, 0.22744 }, { 0.94489, 0.79634, 0.228 }, { 0.95039, 0.78823, 0.22831 }, { 0.9556, 0.78005, 0.22836 }, { 0.96049, 0.77181, 0.22811 }, { 0.96507, 0.76352, 0.22754 }, { 0.96931, 0.75519, 0.22663 }, { 0.97323, 0.74682, 0.22536 }, { 0.97679, 0.73842, 0.22369 }, { 0.98, 0.73, 0.22161 }, { 0.98289, 0.7214, 0.21918 }, { 0.98549, 0.7125, 0.2165 }, { 0.98781, 0.7033, 0.21358 }, { 0.98986, 0.69382, 0.21043 }, { 0.99163, 0.68408, 0.20706 }, { 0.99314, 0.67408, 0.20348 }, { 0.99438, 0.66386, 0.19971 }, { 0.99535, 0.65341, 0.19577 }, { 0.99607, 0.64277, 0.19165 }, { 0.99654, 0.63193, 0.18738 }, { 0.99675, 0.62093, 0.18297 }, { 0.99672, 0.60977, 0.17842 }, { 0.99644, 0.59846, 0.17376 }, { 0.99593, 0.58703, 0.16899 }, { 0.99517, 0.57549, 0.16412 }, { 0.99419, 0.56386, 0.15918 }, { 0.99297, 0.55214, 0.15417 }, { 0.99153, 0.54036, 0.1491 }, { 0.98987, 0.52854, 0.14398 }, { 0.98799, 0.51667, 0.13883 }, { 0.9859, 0.50479, 0.13367 }, { 0.9836, 0.49291, 0.12849 }, { 0.98108, 0.48104, 0.12332 }, { 0.97837, 0.4692, 0.11817 }, { 0.97545, 0.4574, 0.11305 }, { 0.97234, 0.44565, 0.10797 }, { 0.96904, 0.43399, 0.10294 }, { 0.96555, 0.42241, 0.09798 }, { 0.96187, 0.41093, 0.0931 }, { 0.95801, 0.39958, 0.08831 }, { 0.95398, 0.38836, 0.08362 }, { 0.94977, 0.37729, 0.07905 }, { 0.94538, 0.36638, 0.07461 }, { 0.94084, 0.35566, 0.07031 }, { 0.93612, 0.34513, 0.06616 }, { 0.93125, 0.33482, 0.06218 }, { 0.92623, 0.32473, 0.05837 }, { 0.92105, 0.31489, 0.05475 }, { 0.91572, 0.3053, 0.05134 }, { 0.91024, 0.29599, 0.04814 }, { 0.90463, 0.28696, 0.04516 }, { 0.89888, 0.27824, 0.04243 }, { 0.89298, 0.26981, 0.03993 }, { 0.88691, 0.26152, 0.03753 }, { 0.88066, 0.25334, 0.03521 }, { 0.87422, 0.24526, 0.03297 }, { 0.8676, 0.2373, 0.03082 }, { 0.86079, 0.22945, 0.02875 }, { 0.8538, 0.2217, 0.02677 }, { 0.84662, 0.21407, 0.02487 }, { 0.83926, 0.20654, 0.02305 }, { 0.83172, 0.19912, 0.02131 }, { 0.82399, 0.19182, 0.01966 }, { 0.81608, 0.18462, 0.01809 }, { 0.80799, 0.17753, 0.0166 }, { 0.79971, 0.17055, 0.0152 }, { 0.79125, 0.16368, 0.01387 }, { 0.7826, 0.15693, 0.01264 }, { 0.77377, 0.15028, 0.01148 }, { 0.76476, 0.14374, 0.01041 }, { 0.75556, 0.13731, 0.00942 }, { 0.74617, 0.13098, 0.00851 }, { 0.73661, 0.12477, 0.00769 }, { 0.72686, 0.11867, 0.00695 }, { 0.71692, 0.11268, 0.00629 }, { 0.7068, 0.1068, 0.00571 }, { 0.6965, 0.10102, 0.00522 }, { 0.68602, 0.09536, 0.00481 }, { 0.67535, 0.0898, 0.00449 }, { 0.66449, 0.08436, 0.00424 }, { 0.65345, 0.07902, 0.00408 }, { 0.64223, 0.0738, 0.00401 }, { 0.63082, 0.06868, 0.00401 }, { 0.61923, 0.06367, 0.0041 }, { 0.60746, 0.05878, 0.00427 }, { 0.5955, 0.05399, 0.00453 }, { 0.58336, 0.04931, 0.00486 }, { 0.57103, 0.04474, 0.00529 }, { 0.55852, 0.04028, 0.00579 }, { 0.54583, 0.03593, 0.00638 }, { 0.53295, 0.03169, 0.00705 }, { 0.51989, 0.02756, 0.0078 }, { 0.50664, 0.02354, 0.00863 }, { 0.49321, 0.01963, 0.00955 }, { 0.4796, 0.01583, 0.01055 } };</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span><span class="comment"></span> </div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span><span class="comment">        /// &lt;summary&gt;</span></div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span><span class="comment">        /// Magma gradient, based on the homonymous colour scale included in the &quot;viridis&quot; R package (&lt;seealso href=&quot;https://cran.r-project.org/web/packages/viridis/vignettes/intro-to-viridis.html&quot;/&gt;).</span></div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno">   71</span><span class="comment">        /// &lt;/summary&gt;</span></div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"><a class="line" href="class_vect_sharp_1_1_gradients.html#a955aacea9fbc5569ee0913b100f04b18">   72</a></span><span class="comment"></span>        <span class="keyword">public</span> <span class="keyword">static</span> readonly <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a> <a class="code hl_variable" href="class_vect_sharp_1_1_gradients.html#a955aacea9fbc5569ee0913b100f04b18">Magma</a> = <span class="keyword">new</span> <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a>(from el in Enumerable.Range(0, 21) let ind = (<span class="keywordtype">int</span>)Math.Round(12.75 * el) select <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(MagmaRGB[ind, 0], MagmaRGB[ind, 1], MagmaRGB[ind, 2]), el * 0.05));</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno">   73</span><span class="comment"></span> </div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno">   74</span><span class="comment">        /// &lt;summary&gt;</span></div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno">   75</span><span class="comment">        /// Inferno gradient, based on the homonymous colour scale included in the &quot;viridis&quot; R package (&lt;seealso href=&quot;https://cran.r-project.org/web/packages/viridis/vignettes/intro-to-viridis.html&quot;/&gt;).</span></div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span><span class="comment">        /// &lt;/summary&gt;</span></div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"><a class="line" href="class_vect_sharp_1_1_gradients.html#ac4ee1ae39cf1abbc973883652b8db578">   77</a></span><span class="comment"></span>        <span class="keyword">public</span> <span class="keyword">static</span> readonly <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a> <a class="code hl_variable" href="class_vect_sharp_1_1_gradients.html#ac4ee1ae39cf1abbc973883652b8db578">Inferno</a> = <span class="keyword">new</span> <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a>(from el in Enumerable.Range(0, 21) let ind = (<span class="keywordtype">int</span>)Math.Round(12.75 * el) select <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(InfernoRGB[ind, 0], InfernoRGB[ind, 1], InfernoRGB[ind, 2]), el * 0.05));</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span><span class="comment"></span> </div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span><span class="comment">        /// &lt;summary&gt;</span></div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span><span class="comment">        /// Plasma gradient, based on the homonymous colour scale included in the &quot;viridis&quot; R package (&lt;seealso href=&quot;https://cran.r-project.org/web/packages/viridis/vignettes/intro-to-viridis.html&quot;/&gt;).</span></div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span><span class="comment">        /// &lt;/summary&gt;</span></div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"><a class="line" href="class_vect_sharp_1_1_gradients.html#afd232f6b4b05b106212605a816420405">   82</a></span><span class="comment"></span>        <span class="keyword">public</span> <span class="keyword">static</span> readonly <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a> <a class="code hl_variable" href="class_vect_sharp_1_1_gradients.html#afd232f6b4b05b106212605a816420405">Plasma</a> = <span class="keyword">new</span> <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a>(from el in Enumerable.Range(0, 21) let ind = (<span class="keywordtype">int</span>)Math.Round(12.75 * el) select <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(PlasmaRGB[ind, 0], PlasmaRGB[ind, 1], PlasmaRGB[ind, 2]), el * 0.05));</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span><span class="comment"></span> </div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno">   84</span><span class="comment">        /// &lt;summary&gt;</span></div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno">   85</span><span class="comment">        /// Viridis gradient, based on the homonymous colour scale included in the &quot;viridis&quot; R package (&lt;seealso href=&quot;https://cran.r-project.org/web/packages/viridis/vignettes/intro-to-viridis.html&quot;/&gt;).</span></div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno">   86</span><span class="comment">        /// &lt;/summary&gt;</span></div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"><a class="line" href="class_vect_sharp_1_1_gradients.html#a29a867f936ba530c3f1e4b7c36617b30">   87</a></span><span class="comment"></span>        <span class="keyword">public</span> <span class="keyword">static</span> readonly <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a> <a class="code hl_variable" href="class_vect_sharp_1_1_gradients.html#a29a867f936ba530c3f1e4b7c36617b30">Viridis</a> = <span class="keyword">new</span> <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a>(from el in Enumerable.Range(0, 21) let ind = (<span class="keywordtype">int</span>)Math.Round(12.75 * el) select <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(ViridisRGB[ind, 0], ViridisRGB[ind, 1], ViridisRGB[ind, 2]), el * 0.05));</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno">   88</span><span class="comment"></span> </div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno">   89</span><span class="comment">        /// &lt;summary&gt;</span></div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno">   90</span><span class="comment">        /// Cividis gradient, based on the homonymous colour scale included in the &quot;viridis&quot; R package (&lt;seealso href=&quot;https://cran.r-project.org/web/packages/viridis/vignettes/intro-to-viridis.html&quot;/&gt;).</span></div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno">   91</span><span class="comment">        /// &lt;/summary&gt;</span></div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"><a class="line" href="class_vect_sharp_1_1_gradients.html#a9fd6b213d6bb7d8e9ce13db1cea6fb56">   92</a></span><span class="comment"></span>        <span class="keyword">public</span> <span class="keyword">static</span> readonly <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a> <a class="code hl_variable" href="class_vect_sharp_1_1_gradients.html#a9fd6b213d6bb7d8e9ce13db1cea6fb56">Cividis</a> = <span class="keyword">new</span> <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a>(from el in Enumerable.Range(0, 21) let ind = (<span class="keywordtype">int</span>)Math.Round(12.75 * el) select <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(CividisRGB[ind, 0], CividisRGB[ind, 1], CividisRGB[ind, 2]), el * 0.05));</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno">   93</span><span class="comment"></span> </div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno">   94</span><span class="comment">        /// &lt;summary&gt;</span></div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno">   95</span><span class="comment">        /// Rocket gradient, based on the homonymous colour scale included in the &quot;viridis&quot; R package (&lt;seealso href=&quot;https://cran.r-project.org/web/packages/viridis/vignettes/intro-to-viridis.html&quot;/&gt;).</span></div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno">   96</span><span class="comment">        /// &lt;/summary&gt;</span></div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"><a class="line" href="class_vect_sharp_1_1_gradients.html#a50939f333a66915d5baa7c95b182fd7d">   97</a></span><span class="comment"></span>        <span class="keyword">public</span> <span class="keyword">static</span> readonly <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a> <a class="code hl_variable" href="class_vect_sharp_1_1_gradients.html#a50939f333a66915d5baa7c95b182fd7d">Rocket</a> = <span class="keyword">new</span> <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a>(from el in Enumerable.Range(0, 21) let ind = (<span class="keywordtype">int</span>)Math.Round(12.75 * el) select <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(RocketRGB[ind, 0], RocketRGB[ind, 1], RocketRGB[ind, 2]), el * 0.05));</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno">   98</span><span class="comment"></span> </div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno">   99</span><span class="comment">        /// &lt;summary&gt;</span></div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno">  100</span><span class="comment">        /// Mako gradient, based on the homonymous colour scale included in the &quot;viridis&quot; R package (&lt;seealso href=&quot;https://cran.r-project.org/web/packages/viridis/vignettes/intro-to-viridis.html&quot;/&gt;).</span></div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno">  101</span><span class="comment">        /// &lt;/summary&gt;</span></div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"><a class="line" href="class_vect_sharp_1_1_gradients.html#acd4ca3e1d11332786fd7e5e2424c314e">  102</a></span><span class="comment"></span>        <span class="keyword">public</span> <span class="keyword">static</span> readonly <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a> <a class="code hl_variable" href="class_vect_sharp_1_1_gradients.html#acd4ca3e1d11332786fd7e5e2424c314e">Mako</a> = <span class="keyword">new</span> <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a>(from el in Enumerable.Range(0, 21) let ind = (<span class="keywordtype">int</span>)Math.Round(12.75 * el) select <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(MakoRGB[ind, 0], MakoRGB[ind, 1], MakoRGB[ind, 2]), el * 0.05));</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno">  103</span><span class="comment"></span> </div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno">  104</span><span class="comment">        /// &lt;summary&gt;</span></div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno">  105</span><span class="comment">        /// Turbo gradient, based on the homonymous colour scale included in the &quot;viridis&quot; R package (&lt;seealso href=&quot;https://cran.r-project.org/web/packages/viridis/vignettes/intro-to-viridis.html&quot;/&gt;).</span></div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno">  106</span><span class="comment">        /// &lt;/summary&gt;</span></div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"><a class="line" href="class_vect_sharp_1_1_gradients.html#ab15c5426ee71c488e0c4f59acb46cd93">  107</a></span><span class="comment"></span>        <span class="keyword">public</span> <span class="keyword">static</span> readonly <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a> <a class="code hl_variable" href="class_vect_sharp_1_1_gradients.html#ab15c5426ee71c488e0c4f59acb46cd93">Turbo</a> = <span class="keyword">new</span> <a class="code hl_class" href="class_vect_sharp_1_1_gradient_stops.html">GradientStops</a>(from el in Enumerable.Range(0, 21) let ind = (<span class="keywordtype">int</span>)Math.Round(12.75 * el) select <span class="keyword">new</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_gradient_stop.html">GradientStop</a>(<a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(TurboRGB[ind, 0], TurboRGB[ind, 1], TurboRGB[ind, 2]), el * 0.05));</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno">  108</span><span class="comment"></span> </div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno">  109</span><span class="comment">        /// &lt;summary&gt;</span></div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno">  110</span><span class="comment">        /// Magma colour map, based on the homonymous colour scale included in the &quot;viridis&quot; R package (&lt;seealso href=&quot;https://cran.r-project.org/web/packages/viridis/vignettes/intro-to-viridis.html&quot;/&gt;).</span></div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno">  111</span><span class="comment">        /// &lt;/summary&gt;</span></div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno">  112</span><span class="comment">        /// &lt;param name=&quot;x&quot;&gt;The position in the map (ranging from 0 to 1).&lt;/param&gt;</span></div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno">  113</span><span class="comment">        /// &lt;returns&gt;The colour at the corresponding position in the colour map.&lt;/returns&gt;</span></div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"><a class="line" href="class_vect_sharp_1_1_gradients.html#abfe3d88404f95dc137b59f19e375fa01">  114</a></span><span class="comment"></span>        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a> <a class="code hl_function" href="class_vect_sharp_1_1_gradients.html#abfe3d88404f95dc137b59f19e375fa01">MagmaColouring</a>(<span class="keywordtype">double</span> x)</div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno">  115</span>        {</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno">  116</span>            x = Math.Max(Math.Min(x, 1), 0);</div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno">  117</span>            <span class="keywordtype">int</span> ind = (int)Math.Round(x * 255);</div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno">  118</span>            <span class="keywordflow">return</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(MagmaRGB[ind, 0], MagmaRGB[ind, 1], MagmaRGB[ind, 2]);</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno">  119</span>        }</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno">  120</span><span class="comment"></span> </div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno">  121</span><span class="comment">        /// &lt;summary&gt;</span></div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno">  122</span><span class="comment">        /// Inferno colour map, based on the homonymous colour scale included in the &quot;viridis&quot; R package (&lt;seealso href=&quot;https://cran.r-project.org/web/packages/viridis/vignettes/intro-to-viridis.html&quot;/&gt;).</span></div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno">  123</span><span class="comment">        /// &lt;/summary&gt;</span></div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno">  124</span><span class="comment">        /// &lt;param name=&quot;x&quot;&gt;The position in the map (ranging from 0 to 1).&lt;/param&gt;</span></div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno">  125</span><span class="comment">        /// &lt;returns&gt;The colour at the corresponding position in the colour map.&lt;/returns&gt;</span></div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"><a class="line" href="class_vect_sharp_1_1_gradients.html#afe7b969c8ec58e7f11fc15fa36e9ea76">  126</a></span><span class="comment"></span>        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a> <a class="code hl_function" href="class_vect_sharp_1_1_gradients.html#afe7b969c8ec58e7f11fc15fa36e9ea76">InfernoColouring</a>(<span class="keywordtype">double</span> x)</div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno">  127</span>        {</div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno">  128</span>            x = Math.Max(Math.Min(x, 1), 0);</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno">  129</span>            <span class="keywordtype">int</span> ind = (int)Math.Round(x * 255);</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno">  130</span>            <span class="keywordflow">return</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(InfernoRGB[ind, 0], InfernoRGB[ind, 1], InfernoRGB[ind, 2]);</div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno">  131</span>        }</div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno">  132</span><span class="comment"></span> </div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno">  133</span><span class="comment">        /// &lt;summary&gt;</span></div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno">  134</span><span class="comment">        /// Plasma colour map, based on the homonymous colour scale included in the &quot;viridis&quot; R package (&lt;seealso href=&quot;https://cran.r-project.org/web/packages/viridis/vignettes/intro-to-viridis.html&quot;/&gt;).</span></div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno">  135</span><span class="comment">        /// &lt;/summary&gt;</span></div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno">  136</span><span class="comment">        /// &lt;param name=&quot;x&quot;&gt;The position in the map (ranging from 0 to 1).&lt;/param&gt;</span></div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno">  137</span><span class="comment">        /// &lt;returns&gt;The colour at the corresponding position in the colour map.&lt;/returns&gt;</span></div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"><a class="line" href="class_vect_sharp_1_1_gradients.html#a0ea5ddeccb034f561909408ab2146673">  138</a></span><span class="comment"></span>        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a> <a class="code hl_function" href="class_vect_sharp_1_1_gradients.html#a0ea5ddeccb034f561909408ab2146673">PlasmaColouring</a>(<span class="keywordtype">double</span> x)</div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno">  139</span>        {</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno">  140</span>            x = Math.Max(Math.Min(x, 1), 0);</div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno">  141</span>            <span class="keywordtype">int</span> ind = (int)Math.Round(x * 255);</div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno">  142</span>            <span class="keywordflow">return</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(PlasmaRGB[ind, 0], PlasmaRGB[ind, 1], PlasmaRGB[ind, 2]);</div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno">  143</span>        }</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno">  144</span><span class="comment"></span> </div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno">  145</span><span class="comment">        /// &lt;summary&gt;</span></div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno">  146</span><span class="comment">        /// Viridis colour map, based on the homonymous colour scale included in the &quot;viridis&quot; R package (&lt;seealso href=&quot;https://cran.r-project.org/web/packages/viridis/vignettes/intro-to-viridis.html&quot;/&gt;).</span></div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno">  147</span><span class="comment">        /// &lt;/summary&gt;</span></div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno">  148</span><span class="comment">        /// &lt;param name=&quot;x&quot;&gt;The position in the map (ranging from 0 to 1).&lt;/param&gt;</span></div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno">  149</span><span class="comment">        /// &lt;returns&gt;The colour at the corresponding position in the colour map.&lt;/returns&gt;</span></div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"><a class="line" href="class_vect_sharp_1_1_gradients.html#aee484bc28afb170ed1df6062df8c7c23">  150</a></span><span class="comment"></span>        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a> <a class="code hl_function" href="class_vect_sharp_1_1_gradients.html#aee484bc28afb170ed1df6062df8c7c23">ViridisColouring</a>(<span class="keywordtype">double</span> x)</div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno">  151</span>        {</div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno">  152</span>            x = Math.Max(Math.Min(x, 1), 0);</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno">  153</span>            <span class="keywordtype">int</span> ind = (int)Math.Round(x * 255);</div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno">  154</span>            <span class="keywordflow">return</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(ViridisRGB[ind, 0], ViridisRGB[ind, 1], ViridisRGB[ind, 2]);</div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno">  155</span>        }</div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno">  156</span><span class="comment"></span> </div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno">  157</span><span class="comment">        /// &lt;summary&gt;</span></div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno">  158</span><span class="comment">        /// Cividis colour map, based on the homonymous colour scale included in the &quot;viridis&quot; R package (&lt;seealso href=&quot;https://cran.r-project.org/web/packages/viridis/vignettes/intro-to-viridis.html&quot;/&gt;).</span></div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno">  159</span><span class="comment">        /// &lt;/summary&gt;</span></div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno">  160</span><span class="comment">        /// &lt;param name=&quot;x&quot;&gt;The position in the map (ranging from 0 to 1).&lt;/param&gt;</span></div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno">  161</span><span class="comment">        /// &lt;returns&gt;The colour at the corresponding position in the colour map.&lt;/returns&gt;</span></div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"><a class="line" href="class_vect_sharp_1_1_gradients.html#a172bfa3461c99375b1aaf534d05d63f9">  162</a></span><span class="comment"></span>        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a> <a class="code hl_function" href="class_vect_sharp_1_1_gradients.html#a172bfa3461c99375b1aaf534d05d63f9">CividisColouring</a>(<span class="keywordtype">double</span> x)</div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno">  163</span>        {</div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno">  164</span>            x = Math.Max(Math.Min(x, 1), 0);</div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno">  165</span>            <span class="keywordtype">int</span> ind = (int)Math.Round(x * 255);</div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno">  166</span>            <span class="keywordflow">return</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(CividisRGB[ind, 0], CividisRGB[ind, 1], CividisRGB[ind, 2]);</div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno">  167</span>        }</div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno">  168</span><span class="comment"></span> </div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno">  169</span><span class="comment">        /// &lt;summary&gt;</span></div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno">  170</span><span class="comment">        /// Rocket colour map, based on the homonymous colour scale included in the &quot;viridis&quot; R package (&lt;seealso href=&quot;https://cran.r-project.org/web/packages/viridis/vignettes/intro-to-viridis.html&quot;/&gt;).</span></div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno">  171</span><span class="comment">        /// &lt;/summary&gt;</span></div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno">  172</span><span class="comment">        /// &lt;param name=&quot;x&quot;&gt;The position in the map (ranging from 0 to 1).&lt;/param&gt;</span></div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno">  173</span><span class="comment">        /// &lt;returns&gt;The colour at the corresponding position in the colour map.&lt;/returns&gt;</span></div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"><a class="line" href="class_vect_sharp_1_1_gradients.html#ac74a6e8b8bb8f84e29f347a925da7f82">  174</a></span><span class="comment"></span>        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a> <a class="code hl_function" href="class_vect_sharp_1_1_gradients.html#ac74a6e8b8bb8f84e29f347a925da7f82">RocketColouring</a>(<span class="keywordtype">double</span> x)</div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno">  175</span>        {</div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno">  176</span>            x = Math.Max(Math.Min(x, 1), 0);</div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno">  177</span>            <span class="keywordtype">int</span> ind = (int)Math.Round(x * 255);</div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno">  178</span>            <span class="keywordflow">return</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(RocketRGB[ind, 0], RocketRGB[ind, 1], RocketRGB[ind, 2]);</div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno">  179</span>        }</div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno">  180</span><span class="comment"></span> </div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno">  181</span><span class="comment">        /// &lt;summary&gt;</span></div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno">  182</span><span class="comment">        /// Mako colour map, based on the homonymous colour scale included in the &quot;viridis&quot; R package (&lt;seealso href=&quot;https://cran.r-project.org/web/packages/viridis/vignettes/intro-to-viridis.html&quot;/&gt;).</span></div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno">  183</span><span class="comment">        /// &lt;/summary&gt;</span></div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno">  184</span><span class="comment">        /// &lt;param name=&quot;x&quot;&gt;The position in the map (ranging from 0 to 1).&lt;/param&gt;</span></div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno">  185</span><span class="comment">        /// &lt;returns&gt;The colour at the corresponding position in the colour map.&lt;/returns&gt;</span></div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"><a class="line" href="class_vect_sharp_1_1_gradients.html#abf06eddb729c3f008881df3463b22a0b">  186</a></span><span class="comment"></span>        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a> <a class="code hl_function" href="class_vect_sharp_1_1_gradients.html#abf06eddb729c3f008881df3463b22a0b">MakoColouring</a>(<span class="keywordtype">double</span> x)</div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno">  187</span>        {</div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno">  188</span>            x = Math.Max(Math.Min(x, 1), 0);</div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno">  189</span>            <span class="keywordtype">int</span> ind = (int)Math.Round(x * 255);</div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno">  190</span>            <span class="keywordflow">return</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(MakoRGB[ind, 0], MakoRGB[ind, 1], MakoRGB[ind, 2]);</div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno">  191</span>        }</div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno">  192</span><span class="comment"></span> </div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno">  193</span><span class="comment">        /// &lt;summary&gt;</span></div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno">  194</span><span class="comment">        /// Turbo colour map, based on the homonymous colour scale included in the &quot;viridis&quot; R package (&lt;seealso href=&quot;https://cran.r-project.org/web/packages/viridis/vignettes/intro-to-viridis.html&quot;/&gt;).</span></div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno">  195</span><span class="comment">        /// &lt;/summary&gt;</span></div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno">  196</span><span class="comment">        /// &lt;param name=&quot;x&quot;&gt;The position in the map (ranging from 0 to 1).&lt;/param&gt;</span></div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno">  197</span><span class="comment">        /// &lt;returns&gt;The colour at the corresponding position in the colour map.&lt;/returns&gt;</span></div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"><a class="line" href="class_vect_sharp_1_1_gradients.html#a1204e0e3a343255ce59d99944c1c9408">  198</a></span><span class="comment"></span>        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a> <a class="code hl_function" href="class_vect_sharp_1_1_gradients.html#a1204e0e3a343255ce59d99944c1c9408">TurboColouring</a>(<span class="keywordtype">double</span> x)</div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno">  199</span>        {</div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno">  200</span>            x = Math.Max(Math.Min(x, 1), 0);</div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno">  201</span>            <span class="keywordtype">int</span> ind = (int)Math.Round(x * 255);</div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno">  202</span>            <span class="keywordflow">return</span> <a class="code hl_struct" href="struct_vect_sharp_1_1_colour.html">Colour</a>.<a class="code hl_function" href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">FromRgb</a>(TurboRGB[ind, 0], TurboRGB[ind, 1], TurboRGB[ind, 2]);</div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno">  203</span>        }</div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno">  204</span>    }</div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno">  205</span>}</div>
<div class="ttc" id="aclass_vect_sharp_1_1_gradient_stops_html"><div class="ttname"><a href="class_vect_sharp_1_1_gradient_stops.html">VectSharp.GradientStops</a></div><div class="ttdoc">Represents a read-only list of GradientStops.</div><div class="ttdef"><b>Definition:</b> <a href="_brush_8cs_source.html#l00152">Brush.cs:153</a></div></div>
<div class="ttc" id="aclass_vect_sharp_1_1_gradients_html"><div class="ttname"><a href="class_vect_sharp_1_1_gradients.html">VectSharp.Gradients</a></div><div class="ttdoc">Standard gradients.</div><div class="ttdef"><b>Definition:</b> <a href="_gradients_8cs_source.html#l00013">Gradients.cs:14</a></div></div>
<div class="ttc" id="aclass_vect_sharp_1_1_gradients_html_a0c3bfb1433293005f2731b311fe3b546"><div class="ttname"><a href="class_vect_sharp_1_1_gradients.html#a0c3bfb1433293005f2731b311fe3b546">VectSharp.Gradients.WhiteToBlack</a></div><div class="ttdeci">static readonly GradientStops WhiteToBlack</div><div class="ttdoc">Gradient from white (0) to black (1).</div><div class="ttdef"><b>Definition:</b> <a href="_gradients_8cs_source.html#l00023">Gradients.cs:23</a></div></div>
<div class="ttc" id="aclass_vect_sharp_1_1_gradients_html_a0db68fdf56887ae1c04a48acb95b4188"><div class="ttname"><a href="class_vect_sharp_1_1_gradients.html#a0db68fdf56887ae1c04a48acb95b4188">VectSharp.Gradients.OkabeItoRainbow</a></div><div class="ttdeci">static readonly GradientStops OkabeItoRainbow</div><div class="ttdoc">Rainbow gradient with Okabe-Ito colour-blind safe colours ().</div><div class="ttdef"><b>Definition:</b> <a href="_gradients_8cs_source.html#l00043">Gradients.cs:43</a></div></div>
<div class="ttc" id="aclass_vect_sharp_1_1_gradients_html_a0ea5ddeccb034f561909408ab2146673"><div class="ttname"><a href="class_vect_sharp_1_1_gradients.html#a0ea5ddeccb034f561909408ab2146673">VectSharp.Gradients.PlasmaColouring</a></div><div class="ttdeci">static Colour PlasmaColouring(double x)</div><div class="ttdoc">Plasma colour map, based on the homonymous colour scale included in the &quot;viridis&quot; R package ().</div><div class="ttdef"><b>Definition:</b> <a href="_gradients_8cs_source.html#l00138">Gradients.cs:138</a></div></div>
<div class="ttc" id="aclass_vect_sharp_1_1_gradients_html_a1204e0e3a343255ce59d99944c1c9408"><div class="ttname"><a href="class_vect_sharp_1_1_gradients.html#a1204e0e3a343255ce59d99944c1c9408">VectSharp.Gradients.TurboColouring</a></div><div class="ttdeci">static Colour TurboColouring(double x)</div><div class="ttdoc">Turbo colour map, based on the homonymous colour scale included in the &quot;viridis&quot; R package ().</div><div class="ttdef"><b>Definition:</b> <a href="_gradients_8cs_source.html#l00198">Gradients.cs:198</a></div></div>
<div class="ttc" id="aclass_vect_sharp_1_1_gradients_html_a172bfa3461c99375b1aaf534d05d63f9"><div class="ttname"><a href="class_vect_sharp_1_1_gradients.html#a172bfa3461c99375b1aaf534d05d63f9">VectSharp.Gradients.CividisColouring</a></div><div class="ttdeci">static Colour CividisColouring(double x)</div><div class="ttdoc">Cividis colour map, based on the homonymous colour scale included in the &quot;viridis&quot; R package ().</div><div class="ttdef"><b>Definition:</b> <a href="_gradients_8cs_source.html#l00162">Gradients.cs:162</a></div></div>
<div class="ttc" id="aclass_vect_sharp_1_1_gradients_html_a1a2322649bc945fd1613d7df84ddd432"><div class="ttname"><a href="class_vect_sharp_1_1_gradients.html#a1a2322649bc945fd1613d7df84ddd432">VectSharp.Gradients.RedYellowGreen</a></div><div class="ttdeci">static readonly GradientStops RedYellowGreen</div><div class="ttdoc">Gradient from red (0) to yellow (0.5) to green (1).</div><div class="ttdef"><b>Definition:</b> <a href="_gradients_8cs_source.html#l00038">Gradients.cs:38</a></div></div>
<div class="ttc" id="aclass_vect_sharp_1_1_gradients_html_a29a867f936ba530c3f1e4b7c36617b30"><div class="ttname"><a href="class_vect_sharp_1_1_gradients.html#a29a867f936ba530c3f1e4b7c36617b30">VectSharp.Gradients.Viridis</a></div><div class="ttdeci">static readonly GradientStops Viridis</div><div class="ttdoc">Viridis gradient, based on the homonymous colour scale included in the &quot;viridis&quot; R package ().</div><div class="ttdef"><b>Definition:</b> <a href="_gradients_8cs_source.html#l00087">Gradients.cs:87</a></div></div>
<div class="ttc" id="aclass_vect_sharp_1_1_gradients_html_a50939f333a66915d5baa7c95b182fd7d"><div class="ttname"><a href="class_vect_sharp_1_1_gradients.html#a50939f333a66915d5baa7c95b182fd7d">VectSharp.Gradients.Rocket</a></div><div class="ttdeci">static readonly GradientStops Rocket</div><div class="ttdoc">Rocket gradient, based on the homonymous colour scale included in the &quot;viridis&quot; R package ().</div><div class="ttdef"><b>Definition:</b> <a href="_gradients_8cs_source.html#l00097">Gradients.cs:97</a></div></div>
<div class="ttc" id="aclass_vect_sharp_1_1_gradients_html_a5e983ad42e4b1ee9ef8ddfebbc3d6539"><div class="ttname"><a href="class_vect_sharp_1_1_gradients.html#a5e983ad42e4b1ee9ef8ddfebbc3d6539">VectSharp.Gradients.Rainbow</a></div><div class="ttdeci">static readonly GradientStops Rainbow</div><div class="ttdoc">Rainbow gradient (red, orange, yellow, green, blue, indigo, violet).</div><div class="ttdef"><b>Definition:</b> <a href="_gradients_8cs_source.html#l00033">Gradients.cs:33</a></div></div>
<div class="ttc" id="aclass_vect_sharp_1_1_gradients_html_a7e2b8fdc6d0667a53f578a1e0405d93f"><div class="ttname"><a href="class_vect_sharp_1_1_gradients.html#a7e2b8fdc6d0667a53f578a1e0405d93f">VectSharp.Gradients.RedToGreen</a></div><div class="ttdeci">static readonly GradientStops RedToGreen</div><div class="ttdoc">Gradient from red (0) to green (1).</div><div class="ttdef"><b>Definition:</b> <a href="_gradients_8cs_source.html#l00028">Gradients.cs:28</a></div></div>
<div class="ttc" id="aclass_vect_sharp_1_1_gradients_html_a8335f0f15d4ed215e5d02deb92ecb1f8"><div class="ttname"><a href="class_vect_sharp_1_1_gradients.html#a8335f0f15d4ed215e5d02deb92ecb1f8">VectSharp.Gradients.OkabeItoRainbowDiscrete</a></div><div class="ttdeci">static readonly GradientStops OkabeItoRainbowDiscrete</div><div class="ttdoc">Rainbow gradient with Okabe-Ito colour-blind safe colours () in discrete steps.</div><div class="ttdef"><b>Definition:</b> <a href="_gradients_8cs_source.html#l00048">Gradients.cs:48</a></div></div>
<div class="ttc" id="aclass_vect_sharp_1_1_gradients_html_a8580ab96c6d69f36ef41823c1bed0456"><div class="ttname"><a href="class_vect_sharp_1_1_gradients.html#a8580ab96c6d69f36ef41823c1bed0456">VectSharp.Gradients.MutedRainbowDiscrete</a></div><div class="ttdeci">static readonly GradientStops MutedRainbowDiscrete</div><div class="ttdoc">Rainbow gradient with Paul Tol's Muted palette () in discrete steps.</div><div class="ttdef"><b>Definition:</b> <a href="_gradients_8cs_source.html#l00058">Gradients.cs:58</a></div></div>
<div class="ttc" id="aclass_vect_sharp_1_1_gradients_html_a955aacea9fbc5569ee0913b100f04b18"><div class="ttname"><a href="class_vect_sharp_1_1_gradients.html#a955aacea9fbc5569ee0913b100f04b18">VectSharp.Gradients.Magma</a></div><div class="ttdeci">static readonly GradientStops Magma</div><div class="ttdoc">Magma gradient, based on the homonymous colour scale included in the &quot;viridis&quot; R package ().</div><div class="ttdef"><b>Definition:</b> <a href="_gradients_8cs_source.html#l00072">Gradients.cs:72</a></div></div>
<div class="ttc" id="aclass_vect_sharp_1_1_gradients_html_a9fd6b213d6bb7d8e9ce13db1cea6fb56"><div class="ttname"><a href="class_vect_sharp_1_1_gradients.html#a9fd6b213d6bb7d8e9ce13db1cea6fb56">VectSharp.Gradients.Cividis</a></div><div class="ttdeci">static readonly GradientStops Cividis</div><div class="ttdoc">Cividis gradient, based on the homonymous colour scale included in the &quot;viridis&quot; R package ().</div><div class="ttdef"><b>Definition:</b> <a href="_gradients_8cs_source.html#l00092">Gradients.cs:92</a></div></div>
<div class="ttc" id="aclass_vect_sharp_1_1_gradients_html_ab15c5426ee71c488e0c4f59acb46cd93"><div class="ttname"><a href="class_vect_sharp_1_1_gradients.html#ab15c5426ee71c488e0c4f59acb46cd93">VectSharp.Gradients.Turbo</a></div><div class="ttdeci">static readonly GradientStops Turbo</div><div class="ttdoc">Turbo gradient, based on the homonymous colour scale included in the &quot;viridis&quot; R package ().</div><div class="ttdef"><b>Definition:</b> <a href="_gradients_8cs_source.html#l00107">Gradients.cs:107</a></div></div>
<div class="ttc" id="aclass_vect_sharp_1_1_gradients_html_ab1773d19043fc5e4b01efb09398f8ddd"><div class="ttname"><a href="class_vect_sharp_1_1_gradients.html#ab1773d19043fc5e4b01efb09398f8ddd">VectSharp.Gradients.MutedRainbow</a></div><div class="ttdeci">static readonly GradientStops MutedRainbow</div><div class="ttdoc">Rainbow gradient with Paul Tol's Muted palette ().</div><div class="ttdef"><b>Definition:</b> <a href="_gradients_8cs_source.html#l00053">Gradients.cs:53</a></div></div>
<div class="ttc" id="aclass_vect_sharp_1_1_gradients_html_abf06eddb729c3f008881df3463b22a0b"><div class="ttname"><a href="class_vect_sharp_1_1_gradients.html#abf06eddb729c3f008881df3463b22a0b">VectSharp.Gradients.MakoColouring</a></div><div class="ttdeci">static Colour MakoColouring(double x)</div><div class="ttdoc">Mako colour map, based on the homonymous colour scale included in the &quot;viridis&quot; R package ().</div><div class="ttdef"><b>Definition:</b> <a href="_gradients_8cs_source.html#l00186">Gradients.cs:186</a></div></div>
<div class="ttc" id="aclass_vect_sharp_1_1_gradients_html_abfe3d88404f95dc137b59f19e375fa01"><div class="ttname"><a href="class_vect_sharp_1_1_gradients.html#abfe3d88404f95dc137b59f19e375fa01">VectSharp.Gradients.MagmaColouring</a></div><div class="ttdeci">static Colour MagmaColouring(double x)</div><div class="ttdoc">Magma colour map, based on the homonymous colour scale included in the &quot;viridis&quot; R package ().</div><div class="ttdef"><b>Definition:</b> <a href="_gradients_8cs_source.html#l00114">Gradients.cs:114</a></div></div>
<div class="ttc" id="aclass_vect_sharp_1_1_gradients_html_ac4ee1ae39cf1abbc973883652b8db578"><div class="ttname"><a href="class_vect_sharp_1_1_gradients.html#ac4ee1ae39cf1abbc973883652b8db578">VectSharp.Gradients.Inferno</a></div><div class="ttdeci">static readonly GradientStops Inferno</div><div class="ttdoc">Inferno gradient, based on the homonymous colour scale included in the &quot;viridis&quot; R package ().</div><div class="ttdef"><b>Definition:</b> <a href="_gradients_8cs_source.html#l00077">Gradients.cs:77</a></div></div>
<div class="ttc" id="aclass_vect_sharp_1_1_gradients_html_ac74a6e8b8bb8f84e29f347a925da7f82"><div class="ttname"><a href="class_vect_sharp_1_1_gradients.html#ac74a6e8b8bb8f84e29f347a925da7f82">VectSharp.Gradients.RocketColouring</a></div><div class="ttdeci">static Colour RocketColouring(double x)</div><div class="ttdoc">Rocket colour map, based on the homonymous colour scale included in the &quot;viridis&quot; R package ().</div><div class="ttdef"><b>Definition:</b> <a href="_gradients_8cs_source.html#l00174">Gradients.cs:174</a></div></div>
<div class="ttc" id="aclass_vect_sharp_1_1_gradients_html_acd4ca3e1d11332786fd7e5e2424c314e"><div class="ttname"><a href="class_vect_sharp_1_1_gradients.html#acd4ca3e1d11332786fd7e5e2424c314e">VectSharp.Gradients.Mako</a></div><div class="ttdeci">static readonly GradientStops Mako</div><div class="ttdoc">Mako gradient, based on the homonymous colour scale included in the &quot;viridis&quot; R package ().</div><div class="ttdef"><b>Definition:</b> <a href="_gradients_8cs_source.html#l00102">Gradients.cs:102</a></div></div>
<div class="ttc" id="aclass_vect_sharp_1_1_gradients_html_ae322751b6c6067c0aaf9c2738c90cac9"><div class="ttname"><a href="class_vect_sharp_1_1_gradients.html#ae322751b6c6067c0aaf9c2738c90cac9">VectSharp.Gradients.TransparentToBlack</a></div><div class="ttdeci">static readonly GradientStops TransparentToBlack</div><div class="ttdoc">Gradient from transparent black (0) to opaque black (1).</div><div class="ttdef"><b>Definition:</b> <a href="_gradients_8cs_source.html#l00018">Gradients.cs:18</a></div></div>
<div class="ttc" id="aclass_vect_sharp_1_1_gradients_html_aee484bc28afb170ed1df6062df8c7c23"><div class="ttname"><a href="class_vect_sharp_1_1_gradients.html#aee484bc28afb170ed1df6062df8c7c23">VectSharp.Gradients.ViridisColouring</a></div><div class="ttdeci">static Colour ViridisColouring(double x)</div><div class="ttdoc">Viridis colour map, based on the homonymous colour scale included in the &quot;viridis&quot; R package ().</div><div class="ttdef"><b>Definition:</b> <a href="_gradients_8cs_source.html#l00150">Gradients.cs:150</a></div></div>
<div class="ttc" id="aclass_vect_sharp_1_1_gradients_html_afd232f6b4b05b106212605a816420405"><div class="ttname"><a href="class_vect_sharp_1_1_gradients.html#afd232f6b4b05b106212605a816420405">VectSharp.Gradients.Plasma</a></div><div class="ttdeci">static readonly GradientStops Plasma</div><div class="ttdoc">Plasma gradient, based on the homonymous colour scale included in the &quot;viridis&quot; R package ().</div><div class="ttdef"><b>Definition:</b> <a href="_gradients_8cs_source.html#l00082">Gradients.cs:82</a></div></div>
<div class="ttc" id="aclass_vect_sharp_1_1_gradients_html_afe7b969c8ec58e7f11fc15fa36e9ea76"><div class="ttname"><a href="class_vect_sharp_1_1_gradients.html#afe7b969c8ec58e7f11fc15fa36e9ea76">VectSharp.Gradients.InfernoColouring</a></div><div class="ttdeci">static Colour InfernoColouring(double x)</div><div class="ttdoc">Inferno colour map, based on the homonymous colour scale included in the &quot;viridis&quot; R package ().</div><div class="ttdef"><b>Definition:</b> <a href="_gradients_8cs_source.html#l00126">Gradients.cs:126</a></div></div>
<div class="ttc" id="anamespace_vect_sharp_html"><div class="ttname"><a href="namespace_vect_sharp.html">VectSharp</a></div><div class="ttdef"><b>Definition:</b> <a href="_animation_8cs_source.html#l00025">Animation.cs:26</a></div></div>
<div class="ttc" id="astruct_vect_sharp_1_1_colour_html"><div class="ttname"><a href="struct_vect_sharp_1_1_colour.html">VectSharp.Colour</a></div><div class="ttdoc">Represents an RGB colour.</div><div class="ttdef"><b>Definition:</b> <a href="_colour_8cs_source.html#l00028">Colour.cs:29</a></div></div>
<div class="ttc" id="astruct_vect_sharp_1_1_colour_html_a80787f39829f01b38291bb429214d6ae"><div class="ttname"><a href="struct_vect_sharp_1_1_colour.html#a80787f39829f01b38291bb429214d6ae">VectSharp.Colour.FromRgb</a></div><div class="ttdeci">static Colour FromRgb(double r, double g, double b)</div><div class="ttdoc">Create a new colour from RGB (red, green and blue) values.</div><div class="ttdef"><b>Definition:</b> <a href="_colour_8cs_source.html#l00065">Colour.cs:65</a></div></div>
<div class="ttc" id="astruct_vect_sharp_1_1_colour_html_ae8dc3a457be395b0350db3508424a324"><div class="ttname"><a href="struct_vect_sharp_1_1_colour.html#ae8dc3a457be395b0350db3508424a324">VectSharp.Colour.FromRgba</a></div><div class="ttdeci">static Colour FromRgba(double r, double g, double b, double a)</div><div class="ttdoc">Create a new colour from RGBA (red, green, blue and alpha) values.</div><div class="ttdef"><b>Definition:</b> <a href="_colour_8cs_source.html#l00102">Colour.cs:102</a></div></div>
<div class="ttc" id="astruct_vect_sharp_1_1_gradient_stop_html"><div class="ttname"><a href="struct_vect_sharp_1_1_gradient_stop.html">VectSharp.GradientStop</a></div><div class="ttdoc">Represents a colour stop in a gradient.</div><div class="ttdef"><b>Definition:</b> <a href="_brush_8cs_source.html#l00113">Brush.cs:114</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_6606a654b81dd4b591284b66e8a5eb76.html">VectSharp</a></li><li class="navelem"><b>Gradients.cs</b></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5 </li>
  </ul>
</div>
</body>
</html>
